summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-01-17 21:10:24 +0000
committersbd <sbd@pkgsrc.org>2012-01-17 21:10:24 +0000
commiteedc774fd34415e1bc034dfe1f2b519116bc9e1f (patch)
tree1aa4b2ea592daea1abec754d7c7b6acbb81597c7 /mk/platform
parent47cc1da996922a585f4c491591fdfa6abac9cd0f (diff)
downloadpkgsrc-eedc774fd34415e1bc034dfe1f2b519116bc9e1f.tar.gz
Add the GNU_CONFIGURE_LIBDIR variable, if defined it will be passed to gnu
configure scripts as the value of --libdir. On Linux x86_64 set GNU_CONFIGURE_LIBDIR to ${GNU_CONFIGURE_PREFIX}/lib, this will stop package trying to install into ${PREFIX}/lib64.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Linux.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index 6a811a5ff35..7bf7b035241 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.45 2011/10/31 23:22:59 sbd Exp $
+# $NetBSD: Linux.mk,v 1.46 2012/01/17 21:10:24 sbd Exp $
#
# Variable definitions for the Linux operating system.
@@ -100,6 +100,7 @@ _OPSYS_MAX_CMDLEN_CMD?= /usr/bin/getconf ARG_MAX
.endif
.if (${MACHINE_ARCH} == "x86_64")
+GNU_CONFIGURE_LIBDIR?= ${GNU_CONFIGURE_PREFIX}/lib
ABI?= 64
LIBABISUFFIX?= 64
.endif