summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-27 20:34:55 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-27 20:34:55 +0000
commitb5bcf4552b7faec39ca95936ce56d48fbec3d78b (patch)
tree72af2c7de5e4d8a6a165c853ded053fd05e5c0ff
parentf761000a117cc966458dbfd69be879251fc23f31 (diff)
downloadpkgsrc-b5bcf4552b7faec39ca95936ce56d48fbec3d78b.tar.gz
Correct libtool depends on factors like USE_LANGUAGES, so pick up
whatever got choosen elsewhere.
-rw-r--r--mk/cwrappers.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk
index aebb1052b46..9344178d204 100644
--- a/mk/cwrappers.mk
+++ b/mk/cwrappers.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cwrappers.mk,v 1.9 2014/11/27 20:33:58 joerg Exp $
+# $NetBSD: cwrappers.mk,v 1.10 2014/11/27 20:34:55 joerg Exp $
#
# This Makefile fragment implements integration of pkgtools/cwrappers.
@@ -38,8 +38,8 @@ CWRAPPERS_WRAPPEE.cpp= ${CPP:Ufalse}
CWRAPPERS_WRAPPEE.f77= ${F77:Ufalse}
CWRAPPERS_WRAPPEE.imake= ${IMAKE:Ufalse}
CWRAPPERS_WRAPPEE.ld= ${LD:Ufalse}
-CWRAPPERS_WRAPPEE.libtool= ${PREFIX}/bin/libtool
-CWRAPPERS_WRAPPEE.shlibtool= ${PREFIX}/bin/shlibtool
+CWRAPPERS_WRAPPEE.libtool= ${PKG_LIBTOOL:Ufalse}
+CWRAPPERS_WRAPPEE.shlibtool= ${PKG_SHLIBTOOL:Ufalse}
.if defined(USE_IMAKE) || !empty(USE_TOOLS:Mimake)
CWRAPPERS_TRANSFORM.imake+= I:${PREFIX}/lib/X11/config:${PREFIX}/lib/X11/config