gentoo-overlay/x11-misc/xrmap/files/xrmap-2.33-as-needed.patch

13 lines
564 B
Diff

Index: xrmap-2.33/Makefile.noimake
===================================================================
--- xrmap-2.33.orig/Makefile.noimake
+++ xrmap-2.33/Makefile.noimake
@@ -20,7 +20,7 @@ LDOPTIONS=-O6 -g -Wall -lXpm -lX11 -ljp
## LDOPTIONS=-O6 -g -Wall libxpm/libXpm.a -lX11 -lz -lm -L/usr/X11R6/lib
all: explorer.o image.o xrmap.o
- gcc $(LDOPTIONS) -o xrmap explorer.o image.o xrmap.o
+ gcc -o xrmap explorer.o image.o xrmap.o $(LDOPTIONS)
cd editkit ; make -f Makefile.kit DESTDIR=$(DESTDIR)
cd earthview ; make DESTDIR=$(DESTDIR)
@cat EXTRADATA