pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/popt Avoid to install library into ${PREFIX}/lib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7af4c5ca21b8
branches:  trunk
changeset: 528730:7af4c5ca21b8
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun May 13 15:04:00 2007 +0000

description:
Avoid to install library into ${PREFIX}/lib64 on 64-bit.

diffstat:

 devel/popt/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d6385a1b3b0a -r 7af4c5ca21b8 devel/popt/Makefile
--- a/devel/popt/Makefile       Sun May 13 14:57:18 2007 +0000
+++ b/devel/popt/Makefile       Sun May 13 15:04:00 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2007/05/12 00:52:28 obache Exp $
+# $NetBSD: Makefile,v 1.37 2007/05/13 15:04:00 obache Exp $
 #
 
 DISTNAME=      popt-1.10.7
@@ -25,5 +25,11 @@
 post-extract:
        touch ${WRKDIR}/rpm.c
 
+# XXX: avoid to install library into ${PREFIX}/lib64 on 64-bit
+SUBST_CLASSES+=                mark64
+SUBST_STAGE.mark64=    pre-configure
+SUBST_FILES.mark64=    Makefile.am Makefile.in
+SUBST_SED.mark64=      -e 's|@MARK64@||g'
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index