diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-05-12 09:59:19 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-05-12 09:59:19 +0000 |
commit | 9677d196541ff4a148c35e0864ad57abe871414a (patch) | |
tree | 20e8216a8142e68db52a5cb1c8fbb486dd0f6c45 /lang | |
parent | 74da0d0bf93841bb264e42e40c1e519df305a127 (diff) | |
download | pkgsrc-9677d196541ff4a148c35e0864ad57abe871414a.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')
-rw-r--r-- | lang/mono/Makefile | 14 |
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" |