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
commite226bdd3f4d3a825f0bd6a1617dce5525f49c286 (patch)
tree0b00ea28232310bc0d53d1c1b652b4e661348124 /devel/popt
parent99c810e8af2ec5198cab75b58f43b9b3a09dd738 (diff)
downloadpkgsrc-e226bdd3f4d3a825f0bd6a1617dce5525f49c286.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"