summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-06-22 16:16:50 +0000
committerjperkin <jperkin>2015-06-22 16:16:50 +0000
commit9b1183f46aa1da32a9a1b29abddca3c75d27cd05 (patch)
tree00d748290263ce023322ba6572986952d4ea7a57
parent84ba4ef102d4de6e674e8571f9278775bec3aa30 (diff)
downloadpkgsrc-9b1183f46aa1da32a9a1b29abddca3c75d27cd05.tar.gz
Substitute hardcoded paths to compiler wrapper. Fixes CHECK_WRKREF builds.
-rw-r--r--mail/fml/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/fml/Makefile b/mail/fml/Makefile
index e91f5baef19..866f04b1452 100644
--- a/mail/fml/Makefile
+++ b/mail/fml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2015/06/12 10:50:19 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2015/06/22 16:16:50 jperkin Exp $
#
DISTNAME= fml-7.98.18-${FML_STAMP}
@@ -61,6 +61,11 @@ PRINT_PLIST_AWK+= /${FML_STAMP}/ \
CHECK_INTERPRETER_SKIP+= lib/fml/${FML_STAMP}/* \
libexec/fml/${FML_STAMP}/loader.in
+SUBST_CLASSES+= fixpaths
+SUBST_STAGE.fixpaths= post-build
+SUBST_FILES.fixpaths= fml/etc/install.cf
+SUBST_SED.fixpaths= -e 's,${WRAPPER_BINDIR}/cc,${CCPATH},g'
+
pre-configure:
${ECHO} ${FML_STAMP} > ${WRKSRC}/.version