aboutsummaryrefslogtreecommitdiffstats
path: root/x11/rxvt-devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-07-13 15:40:10 +0800
committermiwi <miwi@FreeBSD.org>2009-07-13 15:40:10 +0800
commitf61c2b608834288dfb0ecf4bc50afeecd46e6d69 (patch)
tree75bf3e4b523d2121aa8be4e97d447529ef5634bb /x11/rxvt-devel
parent31f350a2f670e6d7338ff0f2e1dc74f57a16d948 (diff)
downloadfreebsd-ports-gnome-f61c2b608834288dfb0ecf4bc50afeecd46e6d69.tar.gz
freebsd-ports-gnome-f61c2b608834288dfb0ecf4bc50afeecd46e6d69.tar.zst
freebsd-ports-gnome-f61c2b608834288dfb0ecf4bc50afeecd46e6d69.zip
- Allow the port to be built with different compilers
PR: 136595 Submitted by: bf <bf1783@gmail.com> Approved by: maintainer
Diffstat (limited to 'x11/rxvt-devel')
-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