pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/mono-basic fix destdir build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6655a11409e
branches:  trunk
changeset: 556188:f6655a11409e
user:      kefren <kefren%pkgsrc.org@localhost>
date:      Tue Mar 17 20:56:31 2009 +0000

description:
fix destdir build
bump PKGREVISION

diffstat:

 lang/mono-basic/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 389d7ace8fa0 -r f6655a11409e lang/mono-basic/Makefile
--- a/lang/mono-basic/Makefile  Tue Mar 17 20:43:10 2009 +0000
+++ b/lang/mono-basic/Makefile  Tue Mar 17 20:56:31 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2009/03/04 17:49:04 ahoka Exp $
+# $NetBSD: Makefile,v 1.4 2009/03/17 20:56:31 kefren Exp $
 
 DISTNAME=      mono-basic-2.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  http://ftp.novell.com/pub/mono/sources/mono-basic/
 EXTRACT_SUFX=  .tar.bz2
@@ -22,8 +22,11 @@
 UNLIMIT_RESOURCES+=    stacksize
 UNLIMIT_RESOURCES+=    memorysize
 
-post-configure:
-       echo "man_dir=${DESTDIR}${PREFIX}/${PKGMANDIR}" >> ${WRKSRC}/build/config.make
+SUBST_CLASSES+=                        fix-mandir
+SUBST_STAGE.fix-mandir=                post-configure
+SUBST_MESSAGE.fix-mandir=      Fixing man path
+SUBST_FILES.fix-mandir=                build/config.make
+SUBST_SED.fix-mandir=          -e 's,share/man,man,'
 
 .include "../../lang/mono/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index