summaryrefslogtreecommitdiff
path: root/lang/mono
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-05-12 09:59:19 +0000
committerjmmv <jmmv@pkgsrc.org>2004-05-12 09:59:19 +0000
commitd4d0b25b376a026201ec16d962e6f49bcc6071f9 (patch)
tree20e8216a8142e68db52a5cb1c8fbb486dd0f6c45 /lang/mono
parenta46ca33e49ed820ed8eb8d84bc76c00fe2cf9e6b (diff)
downloadpkgsrc-d4d0b25b376a026201ec16d962e6f49bcc6071f9.tar.gz
Avoid detection of jdk, which causes a build failure (missing bl3 files) if
found. While here, add some PRINT_PLIST_AWK tricks so that print-PLIST DTRT.
Diffstat (limited to 'lang/mono')
-rw-r--r--lang/mono/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 9d8f15efbb1..162a319703f 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/05/11 17:33:42 recht Exp $
+# $NetBSD: Makefile,v 1.25 2004/05/12 09:59:19 jmmv Exp $
#
DISTNAME= mono-0.91
@@ -27,6 +27,8 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gc=included
+CONFIGURE_ARGS+= --with-ikvm-jni=no
+CONFIGURE_ARGS+= --with-jdk=no
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
PKGCONFIG_OVERRIDE= mint.pc.in
@@ -80,6 +82,16 @@ PLIST_SUBST+= GC=
CONFIGURE_ARGS+= --with-sigaltstack=no
.endif
+# Global Assembly Cache files are handled during (de)installation.
+PRINT_PLIST_AWK+= /^lib\/mono\/gac\// { next; }
+PRINT_PLIST_AWK+= /^@dirrm lib\/mono\/gac\// { next; }
+
+# GC files are only installed if GC was enabled.
+PRINT_PLIST_AWK+= /^include\/mono\/private\/libgc/ \
+ { print "$${GC}" $$0; next; }
+PRINT_PLIST_AWK+= /^@dirrm include\/mono\/private/ \
+ { print "$${GC}" $$0; next; }
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"