diff options
Diffstat (limited to 'astro/wmglobe/files/patch-Makefile')
-rw-r--r-- | astro/wmglobe/files/patch-Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/astro/wmglobe/files/patch-Makefile b/astro/wmglobe/files/patch-Makefile new file mode 100644 index 000000000000..3b917fbb5b9e --- /dev/null +++ b/astro/wmglobe/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig Wed Feb 3 05:11:37 1999 ++++ Makefile Tue Feb 22 22:22:20 2000 +@@ -1,12 +1,11 @@ +-INC = -I/usr/X11R6/include +-LIBS = -lXext -lX11 -lm -L/usr/X11R6/lib \ +- -ltiff -lXpm -lpng -lz -ljpeg -lungif -lwraster ++INC = `get-wraster-flags --cflags` ++LIBS = `get-wraster-flags --ldflags` `get-wraster-flags --libs` + OBJS = src/wmglobe.o src/rend.o src/wmgutil.o \ + src/sunpos.o src/myconvert.o src/mycontext.o + + + .c.o : +- gcc -c -O2 -Wall $(INC) $< -o $*.o ++ ${CC} -c ${CFLAGS} $(INC) $< -o $@ + + all: wmglobe + +@@ -14,9 +13,8 @@ + rm -f src/*.o wmglobe + + wmglobe : $(OBJS) +- gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS) +- strip wmglobe ++ ${CC} ${CFLAGS} $(OBJS) -o wmglobe $(LIBS) + + install : +- install wmglobe /usr/local/bin +- install wmglobe.1 /usr/local/man/man1 ++ ${BSD_INSTALL_PROGRAM} wmglobe ${PREFIX}/bin ++ ${BSD_INSTALL_MAN} wmglobe.1 ${PREFIX}/man/man1 |