summaryrefslogtreecommitdiff
path: root/devel/popt
diff options
context:
space:
mode:
authorobache <obache>2007-05-13 15:04:00 +0000
committerobache <obache>2007-05-13 15:04:00 +0000
commit405f2018036b9f3f8e55830f1667a2e4b02232ca (patch)
tree0b00ea28232310bc0d53d1c1b652b4e661348124 /devel/popt
parent97d4a139b682f5f6e9e370dd45673bb9603d756c (diff)
downloadpkgsrc-405f2018036b9f3f8e55830f1667a2e4b02232ca.tar.gz
Avoid to install library into ${PREFIX}/lib64 on 64-bit.
Diffstat (limited to 'devel/popt')
-rw-r--r--devel/popt/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index 133ea73be12..995d30a0aba 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -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 @@ TEST_TARGET= check
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"