diff options
author | rillig <rillig@pkgsrc.org> | 2005-10-23 22:24:11 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-10-23 22:24:11 +0000 |
commit | 8aae869b4cbb3e05f5346f54a168421104081023 (patch) | |
tree | bd0b44e0f1344d1d4025ec916cfa6e7ac3bda0c5 /cad/fasthenry | |
parent | f891ec0e8b084f4be1e244027f3a0efdeb55b7c8 (diff) | |
download | pkgsrc-8aae869b4cbb3e05f5346f54a168421104081023.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/Makefile | 15 |
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 |