diff options
author | jlam <jlam> | 2002-09-29 03:31:13 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-29 03:31:13 +0000 |
commit | 5f6c50719dc2acd3bbcff064b38b3e08da3b699d (patch) | |
tree | 8e39ef1e48abb5d5e1e835c5b8c87e1fcde02f78 /cad | |
parent | 8141aa43c4776f5811029f3b567a64ded3867a79 (diff) | |
download | pkgsrc-5f6c50719dc2acd3bbcff064b38b3e08da3b699d.tar.gz |
buildlink1 -> buildlink2, and use gcc/buildlink2.mk instead of Makefile.gcc.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/fasthenry/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/cad/fasthenry/Makefile b/cad/fasthenry/Makefile index e72bed8da2b..44207cf6873 100644 --- a/cad/fasthenry/Makefile +++ b/cad/fasthenry/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2002/04/20 15:34:44 cjep Exp $ +# $NetBSD: Makefile,v 1.11 2002/09/29 03:31:13 jlam Exp $ # DISTNAME= fasthenry-3.0-12Nov96 @@ -19,6 +19,7 @@ NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} +USE_BUILDLINK2= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./config CONFIGURE_ARGS= default @@ -26,17 +27,20 @@ CONFIGURE_ARGS= default .include "../../mk/bsd.prefs.mk" .if (${MACHINE_ARCH} == "alpha") -DEPENDS+= libffm-[0-9]*:../../math/libffm +# # optimized libffm (free fast math library) +#> +. include "../../math/libffm/buildlink2.mk" +DEPENDS+= libffm-[0-9]*:../../math/libffm LIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lffm -lm MAKE_ENV+= LIBS="${LIBS}" .else LIBS= -lm +MAKE_ENV+= LIBS="${LIBS}" .endif -.if (${MACHINE_ARCH} == arm32) -.include "../../lang/gcc/Makefile.gcc" -MAKE_FLAGS+= CC=${CC} +.if (${MACHINE_ARCH} == "arm32") +. include "../../lang/gcc/buildlink2.mk" .endif .include "../../mk/bsd.pkg.mk" |