pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mono Avoid detection of jdk, which causes a build...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7b59d58800f
branches:  trunk
changeset: 475210:b7b59d58800f
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed May 12 09:59:19 2004 +0000

description:
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:

 lang/mono/Makefile |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 0bfa2ca1019c -r b7b59d58800f lang/mono/Makefile
--- a/lang/mono/Makefile        Wed May 12 09:57:13 2004 +0000
+++ b/lang/mono/Makefile        Wed May 12 09:59:19 2004 +0000
@@ -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 @@
 
 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 @@
 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"



Home | Main Index | Thread Index | Old Index