summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-06 09:21:37 +0000
committerknu <knu@FreeBSD.org>2001-04-06 09:21:37 +0000
commitf921de9a3f05c90cd7274f5143de875b63ed06ed (patch)
treeb533242743af6bf5d79cf8a912c52a7c82428e67 /x11-toolkits
parentc2ad79db70fe9baefa5dbde7034aaffe2c7b7914 (diff)
downloadFreeBSD-ports-f921de9a3f05c90cd7274f5143de875b63ed06ed.zip
FreeBSD-ports-f921de9a3f05c90cd7274f5143de875b63ed06ed.tar.gz
Eliminate the previous hack which was useless.
Remove -O from CFLAGS.
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 0efaf58..c48f40c 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
OpenPOWER on IntegriCloud