summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-12-10 23:26:21 +0000
committerjoerg <joerg@pkgsrc.org>2014-12-10 23:26:21 +0000
commitbce58abaf9e128afa025230ee21810730a80f5f6 (patch)
treede9d52a3456991a7d379ab10c9158fc43cc7225c /mk
parentee435a01fb99b993fb5406dded703fe884e5a485 (diff)
downloadpkgsrc-bce58abaf9e128afa025230ee21810730a80f5f6.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}