summaryrefslogtreecommitdiff
path: root/cad/fasthenry
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-29 03:31:13 +0000
committerjlam <jlam>2002-09-29 03:31:13 +0000
commitc0be6c0e92b444c49dca97b353de3f280c7d6d58 (patch)
tree8e39ef1e48abb5d5e1e835c5b8c87e1fcde02f78 /cad/fasthenry
parent198f0231e8600739d470a7f028203342a2228431 (diff)
downloadpkgsrc-c0be6c0e92b444c49dca97b353de3f280c7d6d58.tar.gz
buildlink1 -> buildlink2, and use gcc/buildlink2.mk instead of Makefile.gcc.
Diffstat (limited to 'cad/fasthenry')
-rw-r--r--cad/fasthenry/Makefile14
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"