summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-08-30 12:30:33 +0000
committerjperkin <jperkin>2015-08-30 12:30:33 +0000
commit2212d98a8b2dc76b4a386e0dc401fb319ace1648 (patch)
treee7c4994fc18454fbb0d7c22dc222da9fa5af2899 /lang/erlang
parent8bd86ca25c7a5dd474b78e553afca41d3c9b4569 (diff)
downloadpkgsrc-2212d98a8b2dc76b4a386e0dc401fb319ace1648.tar.gz
Don't strip on Darwin, fails on dyntrace.o, and enable kernel poll. Both
patches from Steven Williamson.
Diffstat (limited to 'lang/erlang')
-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