summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-08-30 12:30:33 +0000
committerjperkin <jperkin@pkgsrc.org>2015-08-30 12:30:33 +0000
commitc26d488fa25cf3ba7879d1d892baa34c634e4d45 (patch)
treee7c4994fc18454fbb0d7c22dc222da9fa5af2899 /lang
parentc28a36609680e9b858e227e0487f359987b0fa14 (diff)
downloadpkgsrc-c26d488fa25cf3ba7879d1d892baa34c634e4d45.tar.gz
Don't strip on Darwin, fails on dyntrace.o, and enable kernel poll. Both
patches from Steven Williamson.
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 98e86dc71cf..4d4bc54c745 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2015/07/18 13:47:42 fhajny Exp $
+# $NetBSD: Makefile,v 1.70 2015/08/30 12:30:33 jperkin Exp $
DISTNAME= otp_src_${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}
PKGNAME= ${DISTNAME:S/otp_src_/erlang-/}
@@ -25,6 +25,11 @@ CONFIGURE_ARGS+= --enable-threads
.include "../../mk/bsd.prefs.mk"
+# Fails trying to strip dyntrace.o
+.if ${OPSYS} == "Darwin"
+INSTALL_UNSTRIPPED= yes
+.endif
+
# have gcc without the necessary atomic ops?
.if !empty(MACHINE_PLATFORM:MNetBSD-[56].*)
@@ -73,7 +78,7 @@ CONFIGURE_ARGS+= --disable-sctp
###
### XXX There may be others here.
###
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --enable-kernel-poll
.endif