diff options
author | knu <knu@FreeBSD.org> | 2002-11-29 04:58:19 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-11-29 04:58:19 +0000 |
commit | e5d3307d5c12077facedb603ea15d9927cf01b78 (patch) | |
tree | 44db181f0464683468be39ec5d01549a3eebe63a /x11-toolkits/ruby-qt2 | |
parent | 411618c192ddda988ceedb51febf4849d6ba404f (diff) | |
download | FreeBSD-ports-e5d3307d5c12077facedb603ea15d9927cf01b78.zip FreeBSD-ports-e5d3307d5c12077facedb603ea15d9927cf01b78.tar.gz |
Unbreak for new C++ compilers.
Diffstat (limited to 'x11-toolkits/ruby-qt2')
-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 9aaa413..c6a5aa7 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 |