4f3ad1e89b
are described in great detail in the file Update.540 installed in ${PREFIX}/share/doc/astrolog/.
19 lines
618 B
Text
19 lines
618 B
Text
$NetBSD: patch-aa,v 1.4 2001/04/20 23:27:38 jtb Exp $
|
|
|
|
--- Makefile.orig Sat Apr 21 00:15:30 2001
|
|
+++ Makefile
|
|
@@ -23,10 +23,10 @@
|
|
charts0.o charts1.o charts2.o charts3.o intrpret.o\
|
|
xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
|
|
# If you don't have X windows, delete the "-lX11" part from the line below:
|
|
-LIBS = -lm -lX11
|
|
-CFLAGS = -O
|
|
+LIBS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lX11 -lm
|
|
+CFLAGS += -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
|
|
|
|
astrolog:: $(OBJ)
|
|
- cc -o $(NAME) $(OBJ) $(LIBS)
|
|
- strip $(NAME)
|
|
+ $(CC) -o $(NAME) $(OBJ) $(LIBS)
|
|
+# strip $(NAME)
|
|
#
|