summaryrefslogtreecommitdiff
path: root/cad/fasthenry/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/fasthenry/Makefile')
-rw-r--r--cad/fasthenry/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/cad/fasthenry/Makefile b/cad/fasthenry/Makefile
index fb4cc9314e1..3ec62c5aa74 100644
--- a/cad/fasthenry/Makefile
+++ b/cad/fasthenry/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/11/02 03:49:09 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.7 2001/02/09 11:29:36 dmcmahill Exp $
#
DISTNAME= fasthenry-3.0-12Nov96
@@ -22,4 +22,15 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./config
CONFIGURE_ARGS= default
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == "alpha")
+DEPENDS+= libffm-*:../../math/libffm
+# optimized libffm (free fast math library)
+LIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lffm -lm
+MAKE_ENV+= LIBS="${LIBS}"
+.else
+LIBS= -lm
+.endif
+
.include "../../mk/bsd.pkg.mk"