summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-07-13 07:40:10 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-07-13 07:40:10 +0000
commit0b513ff36d88bf3fbe153a850c508d3f61e9e806 (patch)
treef5a249dbffc66288e74c9590e0648f59f214f152
parentUpdate to an "0.3.11.a1" which is made of 0.3.10 plus fixies from devel branch. (diff)
- Allow the port to be built with different compilers
PR: 136595 Submitted by: bf <bf1783@gmail.com> Approved by: maintainer
-rw-r--r--x11/rxvt-devel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile
index bbf9baf253ce..c2f5b11a27b4 100644
--- a/x11/rxvt-devel/Makefile
+++ b/x11/rxvt-devel/Makefile
@@ -133,6 +133,9 @@ CONFIGURE_ENV+= LIBS="-lutil"
post-patch:
@${PERL} -pi -e 's|(PTYCHAR2\s+"[^"]+)"|\1ghijklmnopqrstuv"|' \
${WRKSRC}/src/ptytty.c
+ @${REINPLACE_CMD} -e 's|--mode=compile|& --tag=CC|' \
+ -e 's|--mode=link|& --tag=CC|' \
+ ${WRKSRC}/src/Makefile.in
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/rxvt