diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-29 04:58:19 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-29 04:58:19 +0000 |
commit | a2aa04500e95721c5aa6f272f963e416fe03e5d8 (patch) | |
tree | c4825b98b7993b46aebd8883c7fbd17b744abe89 /x11-toolkits | |
parent | e8f27d2a5c18ecbf3d3a0c1b9e1818eb532caaba (diff) | |
download | ports-a2aa04500e95721c5aa6f272f963e416fe03e5d8.tar.gz ports-a2aa04500e95721c5aa6f272f963e416fe03e5d8.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/ruby-qt2/Makefile | 6 |
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 |