aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2006-03-21 07:13:39 +0800
committerolgeni <olgeni@FreeBSD.org>2006-03-21 07:13:39 +0800
commite3332b46799b37fb66eaab68f3453bed137f2b91 (patch)
treebb707c516678fa43a706010f5467f6151487d71c /lang/erlang/Makefile
parentfbdf0a01deeeb9c41fa0b206ab11c2fcd1292b2b (diff)
downloadfreebsd-ports-gnome-e3332b46799b37fb66eaab68f3453bed137f2b91.tar.gz
freebsd-ports-gnome-e3332b46799b37fb66eaab68f3453bed137f2b91.tar.zst
freebsd-ports-gnome-e3332b46799b37fb66eaab68f3453bed137f2b91.zip
Add support for amd64 (from ports/83001, modified).
PR: ports/83001 Submitted by: Rasmus Kaj <kaj(at)kth.se>
Diffstat (limited to 'lang/erlang/Makefile')
-rw-r--r--lang/erlang/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 980aca11e66b..711c0850e3b0 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -67,11 +67,14 @@ ERLANG_PLIST= ${WRKDIR}/pkg-plist
USE_GMAKE= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
REINPLACE_ARGS= -i
CONFIGURE_TARGET= # Empty
-CONFIGURE_ARGS+= --enable-threads --enable-hipe --enable-kernel-poll
+CONFIGURE_ARGS+= --enable-threads --enable-kernel-poll
+.if ${ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-hipe
+.endif
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
CFLAGS+= -I${LOCALBASE}/include