summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-06 09:21:37 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-06 09:21:37 +0000
commit320eadcee5c6e12c8fc42da92595d74758a4cfde (patch)
tree03ebc470a0c6e431471ef6f2e1725a720b528297 /x11-toolkits
parentIntroduce a new variable: RUBY_WITH_PTHREAD. (diff)
Eliminate the previous hack which was useless.
Remove -O from CFLAGS.
Notes
Notes: svn path=/head/; revision=40933
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile.common b/x11-toolkits/ruby-qt2/Makefile.common
index 0efaf5863afa..c48f40c86ad3 100644
--- a/x11-toolkits/ruby-qt2/Makefile.common
+++ b/x11-toolkits/ruby-qt2/Makefile.common
@@ -16,7 +16,7 @@ RUBY_QT2_CONFIGURE_ARGS= \
MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
-pre-build: pre-pre-build
+post-patch: post-patch-cflags
-pre-pre-build:
- ${RUBY} -i -pe 'sub /-lc\b/, "-pthread"' ${WRKSRC}/Makefile
+post-patch-cflags:
+ ${RUBY} -i -pe '~ /^\$$CFLAGS\b.*/ and $$_.sub!(/-O\w*/, "")' ${WRKSRC}/extconf.rb