pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/mono don't install a config file directly into etc/



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6511668692f
branches:  trunk
changeset: 538657:e6511668692f
user:      kefren <kefren%pkgsrc.org@localhost>
date:      Fri Feb 15 15:57:14 2008 +0000

description:
don't install a config file directly into etc/
Reported by wiz@

diffstat:

 lang/mono/Makefile |  12 ++++++++++--
 lang/mono/PLIST    |   4 +++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r 29f53cbd9b51 -r e6511668692f lang/mono/Makefile
--- a/lang/mono/Makefile        Fri Feb 15 15:48:46 2008 +0000
+++ b/lang/mono/Makefile        Fri Feb 15 15:57:14 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2008/02/13 14:16:43 kefren Exp $
+# $NetBSD: Makefile,v 1.61 2008/02/15 15:57:14 kefren Exp $
 
 DISTNAME=      mono-${MONO_VERSION}
 CATEGORIES=    lang
@@ -69,7 +69,9 @@
 CONF_FILES+=   ${EGDIR}/2.0/DefaultWsdlHelpGenerator.aspx \
                ${PKG_SYSCONFDIR}/mono/2.0/DefaultWsdlHelpGenerator.aspx
 CONF_FILES+=   ${EGDIR}/2.0/machine.config \
-               ${PKG_SYSCONFDIR}/mono/2.0/machine.confi
+               ${PKG_SYSCONFDIR}/mono/2.0/machine.config
+CONF_FILES+=   ${EGDIR}/mconfig/config.xml \
+               ${PKG_SYSCONFDIR}/mono/mconfig/config.xml
 
 TEST_TARGET=   check
 
@@ -85,6 +87,12 @@
 SUBST_FILES.fix-mcs=           mcs/build/config-default.make
 SUBST_SED.fix-mcs=             -e 's,/usr/local,${PREFIX},g'
 
+SUBST_CLASSES+=                        fix-cfgdir
+SUBST_STAGE.fix-cfgdir=                post-patch
+SUBST_MESSAGE.fix-cfgdir=      Fixing configuration files install dir
+SUBST_FILES.fix-cfgdir=                mcs/tools/mconfig/Makefile
+SUBST_SED.fix-cfgdir=          -e 's,$$(sysconfdir)/mono,${EGDIR},g'
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"
diff -r 29f53cbd9b51 -r e6511668692f lang/mono/PLIST
--- a/lang/mono/PLIST   Fri Feb 15 15:48:46 2008 +0000
+++ b/lang/mono/PLIST   Fri Feb 15 15:57:14 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2008/02/13 14:16:43 kefren Exp $
+@comment $NetBSD: PLIST,v 1.23 2008/02/15 15:57:14 kefren Exp $
 bin/al
 bin/al2
 bin/caspol
@@ -686,6 +686,7 @@
 share/examples/mono/2.0/web.config
 share/examples/mono/browscap.ini
 share/examples/mono/config
+share/examples/mono/mconfig/config.xml
 share/jay/ACKNOWLEDGEMENTS
 share/jay/NEW_FEATURES
 share/jay/NOTES
@@ -731,6 +732,7 @@
 @dirrm share/mono-1.0
 @dirrm share/libgc-mono
 @dirrm share/jay
+@dirrm share/examples/mono/mconfig
 @dirrm share/examples/mono/2.0
 @dirrm share/examples/mono/1.0
 @dirrm share/examples/mono



Home | Main Index | Thread Index | Old Index