summaryrefslogtreecommitdiff
path: root/math/abs/patches/patch-aa
blob: 1d409f3d9188be2afe8a537300f8c939ae29fc8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.2 1998/12/22 18:55:52 frueauf Exp $

--- Makefile.orig	Sun Dec 20 18:56:29 1998
+++ Makefile	Tue Dec 22 18:28:07 1998
@@ -1,10 +1,11 @@
 CURRENT_DIR = 	.
 
-SUBDIRS =	Xpm TextField-1.0
+SUBDIRS =	TextField-1.0
 
 MAKE =	make
 
-LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext 
+CFLAGS+= -I ${X11BASE}/include -I ${LOCALBASE}/include
+LIBS = -L ${LOCALBASE}/lib -L ${X11BASE}/lib -lXaw -lX11 -lm -lXt -lXmu -lXext -lXpm
 
 SRCS 	=	\
 	applic.c \
@@ -105,7 +106,7 @@
 	$(MAKE) all); \
 	fi \
 	done
-	cc -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS) 
+	cc -o abs ./TextField-1.0/*.o ${OBJS} ${LIBS} 
 
 clean::
 	rm -f *.o */*.o */*.a