summaryrefslogtreecommitdiff
path: root/lang/mono/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-06-05 17:03:55 +0000
committerjperkin <jperkin@pkgsrc.org>2013-06-05 17:03:55 +0000
commit6bfcce0b321f418be05a45e83ab5ff40ccd12d54 (patch)
tree5f83a38855c4f473137035aaed4d0ca720d81500 /lang/mono/Makefile
parent0cc2027a945fe4a23b74fc72ea34cafa97f5a78e (diff)
downloadpkgsrc-6bfcce0b321f418be05a45e83ab5ff40ccd12d54.tar.gz
Add patch set for partial SunOS support. This gets us to the point of
being able to run the bootstrap compiler, but for some as-yet unknown reason it fails during the build but works ok when executed manually.
Diffstat (limited to 'lang/mono/Makefile')
-rw-r--r--lang/mono/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 821b79352e2..7d244afa275 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.136 2013/05/31 12:41:11 wiz Exp $
+# $NetBSD: Makefile,v 1.137 2013/06/05 17:03:55 jperkin Exp $
DISTNAME= mono-3.0.10
PKGREVISION= 1
@@ -24,6 +24,7 @@ EXTRACT_USING= gtar
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} --with-icu=yes
CONFIGURE_ARGS+= --with-preview=yes --with-libgdiplus=installed
+CONFIGURE_ARGS+= --disable-dtrace
.include "options.mk"
@@ -128,6 +129,13 @@ SUBST_MESSAGE.fix-libx11= Fixing libX11 search path configuration
SUBST_FILES.fix-libx11= configure
SUBST_SED.fix-libx11= -e 's,@X11BASE@,${X11BASE},g'
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_func_getdomainname=no
+CONFIGURE_ENV+= ac_cv_func_setdomainname=no
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/data/net_4_5/DefaultWsdlHelpGenerator.aspx \
${DESTDIR}${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx