From f921de9a3f05c90cd7274f5143de875b63ed06ed Mon Sep 17 00:00:00 2001 From: knu Date: Fri, 6 Apr 2001 09:21:37 +0000 Subject: Eliminate the previous hack which was useless. Remove -O from CFLAGS. --- x11-toolkits/ruby-qt2/Makefile.common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'x11-toolkits') 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 -- cgit v1.1