diff options
-rw-r--r-- | x11-toolkits/ruby-qt2/Makefile.common | 6 |
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 |