summaryrefslogtreecommitdiff
path: root/misc/astrolog/patches/patch-aa
blob: ea9ef007aec2c76b0d9e6905f17fa91d7502ebf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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)
 #