diff options
author | agc <agc> | 2011-10-03 05:30:07 +0000 |
---|---|---|
committer | agc <agc> | 2011-10-03 05:30:07 +0000 |
commit | 56c2ee5405b5172e6c596bd3dad20577c91a59ea (patch) | |
tree | 0b840b37aa724b9ac8f35e7b403293aaaf7182ba /news/trn | |
parent | 2a48db752bd5c1d5a22f6c76edff40e2aefd6688 (diff) | |
download | pkgsrc-56c2ee5405b5172e6c596bd3dad20577c91a59ea.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/Makefile | 7 |
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" |