From cac6ca422f4d1febb46dc1a443728e254af2884c Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 23 Oct 2005 22:24:11 +0000 Subject: 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. --- cad/fasthenry/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'cad') 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 -- cgit v1.2.3