summaryrefslogtreecommitdiff
path: root/math/abs
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>1999-10-04 23:08:00 +0000
committersimonb <simonb@pkgsrc.org>1999-10-04 23:08:00 +0000
commit26a98265fe6debee6ddf0c172693723e3e011d3a (patch)
tree741d233b47a53fab4bd3593560c090798b7a026f /math/abs
parent9d5f5ef02f2be9a1b69f20427e0ce8685aeadab8 (diff)
downloadpkgsrc-26a98265fe6debee6ddf0c172693723e3e011d3a.tar.gz
Use ${LDFLAGS} on the "cc -o" line to find the libraries correctly.
Diffstat (limited to 'math/abs')
-rw-r--r--math/abs/patches/patch-aa12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/abs/patches/patch-aa b/math/abs/patches/patch-aa
index 1d409f3d918..466b5e254be 100644
--- a/math/abs/patches/patch-aa
+++ b/math/abs/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 1998/12/22 18:55:52 frueauf Exp $
+$NetBSD: patch-aa,v 1.3 1999/10/04 23:08:00 simonb Exp $
---- Makefile.orig Sun Dec 20 18:56:29 1998
-+++ Makefile Tue Dec 22 18:28:07 1998
+--- Makefile.orig Mon Dec 21 04:56:29 1998
++++ Makefile Sun Oct 3 14:13:44 1999
@@ -1,10 +1,11 @@
CURRENT_DIR = .
@@ -11,8 +11,8 @@ $NetBSD: patch-aa,v 1.2 1998/12/22 18:55:52 frueauf Exp $
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
++CFLAGS+= -I${X11BASE}/include -I ${LOCALBASE}/include
++LIBS = -lXaw -lX11 -lm -lXt -lXmu -lXext -lXpm
SRCS = \
applic.c \
@@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.2 1998/12/22 18:55:52 frueauf Exp $
fi \
done
- cc -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS)
-+ cc -o abs ./TextField-1.0/*.o ${OBJS} ${LIBS}
++ cc -o abs ./TextField-1.0/*.o ${OBJS} ${LDFLAGS} ${LIBS}
clean::
rm -f *.o */*.o */*.a