summaryrefslogtreecommitdiff
path: root/news/trn
diff options
context:
space:
mode:
authoragc <agc>2011-10-03 05:30:07 +0000
committeragc <agc>2011-10-03 05:30:07 +0000
commita0911f672989e4231280d148065dfc24c4ac20c4 (patch)
tree0b840b37aa724b9ac8f35e7b403293aaaf7182ba /news/trn
parent23b57820da31ca7225ece617c39810f7ab76748f (diff)
downloadpkgsrc-a0911f672989e4231280d148065dfc24c4ac20c4.tar.gz
Use SUBST to convert the local function called pipe2() into trn_pip2(),
so that it doesn't clash with a system symbol with the same name.
Diffstat (limited to 'news/trn')
-rw-r--r--news/trn/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/news/trn/Makefile b/news/trn/Makefile
index 1df9ad115f8..b1801a5e117 100644
--- a/news/trn/Makefile
+++ b/news/trn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2010/03/13 05:46:55 obache Exp $
+# $NetBSD: Makefile,v 1.33 2011/10/03 05:30:07 agc Exp $
DISTNAME= trn-4.0-test76
PKGNAME= trn-4.76
@@ -76,4 +76,9 @@ post-install:
@${LN} -s trn ${DESTDIR}${PREFIX}/bin/rn
@${LN} -s trn.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rn.1
+SUBST_CLASSES+= pipe2
+SUBST_STAGE.pipe2= pre-configure
+SUBST_FILES.pipe2= filter.c
+SUBST_SED.pipe2+= -e 's|pipe2|trn_pipe2|g'
+
.include "../../mk/bsd.pkg.mk"