From 537645b7d2c6a2b5d91c1799a96cb9a497d2e5eb Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 4 Oct 1999 23:08:00 +0000 Subject: Use ${LDFLAGS} on the "cc -o" line to find the libraries correctly. --- math/abs/patches/patch-aa | 12 ++++++------ 1 file 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 -- cgit v1.2.3