diff options
author | simonb <simonb> | 1999-10-04 23:08:00 +0000 |
---|---|---|
committer | simonb <simonb> | 1999-10-04 23:08:00 +0000 |
commit | ac6bc147ab6c2c9cd804f3897abcb41329c88189 (patch) | |
tree | 741d233b47a53fab4bd3593560c090798b7a026f /math | |
parent | 06617cc675e66e9059bf0265d27c3601136ef480 (diff) | |
download | pkgsrc-ac6bc147ab6c2c9cd804f3897abcb41329c88189.tar.gz |
Use ${LDFLAGS} on the "cc -o" line to find the libraries correctly.
Diffstat (limited to 'math')
-rw-r--r-- | math/abs/patches/patch-aa | 12 |
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 |