summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg>2014-12-10 23:26:21 +0000
committerjoerg <joerg>2014-12-10 23:26:21 +0000
commita0410a8034f0fba4e0c7bb6bba9a7e11fffdba8c (patch)
treede9d52a3456991a7d379ab10c9158fc43cc7225c /mk
parent3545fb287eec6163d85c14852babc8f23b83ac36 (diff)
downloadpkgsrc-a0410a8034f0fba4e0c7bb6bba9a7e11fffdba8c.tar.gz
Use LOCALBASE for finding the wrapper binaries, USE_CROSSBASE messes up
PREFIX.
Diffstat (limited to 'mk')
-rw-r--r--mk/cwrappers.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk
index b33fe62170b..d3155431e5d 100644
--- a/mk/cwrappers.mk
+++ b/mk/cwrappers.mk
@@ -1,10 +1,11 @@
-# $NetBSD: cwrappers.mk,v 1.17 2014/12/10 14:29:21 schmonz Exp $
+# $NetBSD: cwrappers.mk,v 1.18 2014/12/10 23:26:21 joerg Exp $
#
# This Makefile fragment implements integration of pkgtools/cwrappers.
BUILD_DEPENDS+= cwrappers>=20141129:../../pkgtools/cwrappers
-CWRAPPERS_SRC_DIR= ${PREFIX}/libexec/cwrappers
+# XXX This should be PREFIX, but USE_CROSSBASE overrides it.
+CWRAPPERS_SRC_DIR= ${LOCALBASE}/libexec/cwrappers
CWRAPPERS_BIN_DIR= ${WRKDIR}/.cwrapper/bin
CWRAPPERS_CONFIG_DIR= ${WRKDIR}/.cwrapper/config
CONFIGURE_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR}