aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-11-29 04:58:19 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-11-29 04:58:19 +0000
commita2aa04500e95721c5aa6f272f963e416fe03e5d8 (patch)
treec4825b98b7993b46aebd8883c7fbd17b744abe89 /x11-toolkits
parente8f27d2a5c18ecbf3d3a0c1b9e1818eb532caaba (diff)
downloadports-a2aa04500e95721c5aa6f272f963e416fe03e5d8.tar.gz
ports-a2aa04500e95721c5aa6f272f963e416fe03e5d8.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
index 9aaa4133e6a9..c6a5aa729d22 100644
--- a/x11-toolkits/ruby-qt2/Makefile
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -28,7 +28,11 @@ MAKE_ARGS= LOCAL_LIBS=-lgcc
INSTALL_TARGET= site-install
post-extract:
- find ${WRKSRC} '(' -name .cvsignore -o -name a.out ')' -delete
+ ${FIND} ${WRKSRC} '(' -name .cvsignore -o -name a.out ')' -delete
+
+post-patch:
+ ${GREP} -Frl 'typedef VALUE (*VALUEFUNC)();' ${WRKSRC} | \
+ ${XARGS} ${RUBY} -i -pe 'sub(/typedef VALUE \(\*VALUEFUNC\)\(\);/, "typedef VALUE (*VALUEFUNC)(...);")'
post-patch:
${RUBY} -i -pe 'sub %r"/usr/X11\b", "${X11BASE}"' ${WRKSRC}/lib/qt2.rb