1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/astro/wmglobe/files/patch-aa
Chris Piazza 286a8106f5 Import of wmglobe: a neat dockapp that displays an xeath-like
display of the earth that is currentlyl under the sun, and more.

PR:	12396
Submitted by:	Will Andrews <andrews@technologist.com>
1999-06-26 08:34:07 +00:00

29 lines
767 B
Plaintext

--- Makefile.orig Tue Feb 2 12:11:37 1999
+++ Makefile Sat Jun 26 01:23:37 1999
@@ -1,12 +1,12 @@
-INC = -I/usr/X11R6/include
-LIBS = -lXext -lX11 -lm -L/usr/X11R6/lib \
- -ltiff -lXpm -lpng -lz -ljpeg -lungif -lwraster
+INC = -I${X11BASE}/include
+LIBS = -lXext -lX11 -lm -L${X11BASE}/lib -L${LOCALBASE}/lib \
+ -ltiff -lXpm -lpng -lz -ljpeg -lgif -lwraster
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} -Wall $(INC) $< -o $*.o
all: wmglobe
@@ -14,7 +14,7 @@
rm -f src/*.o wmglobe
wmglobe : $(OBJS)
- gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
+ ${CC} ${CFLAGS} -Wall $(OBJS) -o wmglobe $(LIBS)
strip wmglobe
install :