pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/fasthenry Use "+=" instead of "=" for CONFIGURE_AR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36a19ece57e7
branches:  trunk
changeset: 501561:36a19ece57e7
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 22:24:11 2005 +0000

description:
Use "+=" instead of "=" for CONFIGURE_ARGS and LIBS. As buildlink3
automatically strips off -L${LOCALBASE}/lib, we don't even need to try
to use it.

diffstat:

 cad/fasthenry/Makefile |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r 7061d41504ea -r 36a19ece57e7 cad/fasthenry/Makefile
--- a/cad/fasthenry/Makefile    Sun Oct 23 22:03:21 2005 +0000
+++ b/cad/fasthenry/Makefile    Sun Oct 23 22:24:11 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/04/11 21:45:01 tv Exp $
+# $NetBSD: Makefile,v 1.26 2005/10/23 22:24:11 rillig Exp $
 #
 
 DISTNAME=      fasthenry-3.0-12Nov96
@@ -16,22 +16,21 @@
 WRKSRC=                        ${WRKDIR}/fasthenry-3.0
 HAS_CONFIGURE=         yes
 CONFIGURE_SCRIPT=      ./config
-CONFIGURE_ARGS=                default
+CONFIGURE_ARGS+=       default
 
 .include "../../mk/bsd.prefs.mk"
 
+LIBS+=         ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib
 .if (${MACHINE_ARCH} == "alpha")
 #
 # optimized libffm (free fast math library)
-#>
+#
 .  include "../../math/libffm/buildlink3.mk"
 DEPENDS+=      libffm-[0-9]*:../../math/libffm
-LIBS=          -L${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -lffm -lm
-MAKE_ENV+=     LIBS="${LIBS}"
-.else
-LIBS=          -lm
-MAKE_ENV+=     LIBS="${LIBS}"
+LIBS+=         -lffm
 .endif
+LIBS+=         -lm
+MAKE_ENV+=     LIBS=${LIBS:Q}
 
 .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
 GCC_REQD+=             2.95.3



Home | Main Index | Thread Index | Old Index