summaryrefslogtreecommitdiff
path: root/cad/fasthenry
diff options
context:
space:
mode:
authorrillig <rillig>2005-10-23 22:24:11 +0000
committerrillig <rillig>2005-10-23 22:24:11 +0000
commitef90d1a5c76c8f6fdb75210bc43565cd33426569 (patch)
treebd0b44e0f1344d1d4025ec916cfa6e7ac3bda0c5 /cad/fasthenry
parentf07a5c0f5b85cd94f1e23e5c499c13281c8177fd (diff)
downloadpkgsrc-ef90d1a5c76c8f6fdb75210bc43565cd33426569.tar.gz
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 (limited to 'cad/fasthenry')
-rw-r--r--cad/fasthenry/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/cad/fasthenry/Makefile b/cad/fasthenry/Makefile
index 099468386be..984557f53c7 100644
--- a/cad/fasthenry/Makefile
+++ b/cad/fasthenry/Makefile
@@ -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 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
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