aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-07-19 22:28:59 +0800
committerjohans <johans@FreeBSD.org>2013-07-19 22:28:59 +0800
commit507d1d1a0f78c4caa61a38dbf96a0d50094c411c (patch)
tree26f725d689969d639e585b7873e49dc0477b2f09
parent38dc61d463e2ece45b2b02f69dacdc4c42dd49e4 (diff)
downloadfreebsd-ports-gnome-507d1d1a0f78c4caa61a38dbf96a0d50094c411c.tar.gz
freebsd-ports-gnome-507d1d1a0f78c4caa61a38dbf96a0d50094c411c.tar.zst
freebsd-ports-gnome-507d1d1a0f78c4caa61a38dbf96a0d50094c411c.zip
Rename pipe2 variable to avoid conflict with pipe2 function
Fixes compilation on CURRENT
-rw-r--r--news/trn4/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/news/trn4/Makefile b/news/trn4/Makefile
index 44604c0f9036..ba3a2329cf39 100644
--- a/news/trn4/Makefile
+++ b/news/trn4/Makefile
@@ -17,6 +17,9 @@ MAN1= trn.1 Pnews.1 Rnmail.1
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's/pipe[12]/z&/g' ${WRKSRC}/filter.c
+
pre-configure:
@${ECHO_MSG} "===> Running pre-configure target for ${DISTNAME}"
@${SED} -e "s:__CC__:${CC}:" -e "s:__CFLAGS__:${CFLAGS}:" \