summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-06-22 16:22:21 +0000
committerjperkin <jperkin>2015-06-22 16:22:21 +0000
commit3c9b052397d509b8461a6cc12424081e537886fd (patch)
tree0d71d8cd04e636c84fddb8eb31be61137ef7529c /lang
parente0d4d49bcbe75e7eb8033235ee11a043e69a1355 (diff)
downloadpkgsrc-3c9b052397d509b8461a6cc12424081e537886fd.tar.gz
Substitute hardcoded path to the libtool wrapper. Fixes CHECK_WRKREF builds.
Diffstat (limited to 'lang')
-rw-r--r--lang/librep/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index acf2388feff..6036ceacd9b 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2015/03/15 19:56:54 tnn Exp $
+# $NetBSD: Makefile,v 1.63 2015/06/22 16:22:21 jperkin Exp $
#
DISTNAME= librep-0.92.3
@@ -33,6 +33,11 @@ REPLACE.rep.old= .*/bin/rep
REPLACE.rep.new= ${PREFIX}/bin/rep
REPLACE_FILES.rep= src/rep-xgettext.jl
+SUBST_CLASSES+= fixwrap
+SUBST_STAGE.fixwrap= post-build
+SUBST_FILES.fixwrap= libtool
+SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/libtool,${PKG_LIBTOOL},g"
+
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"