aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-05 19:26:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-05 19:26:20 +0000
commit2b0516308c8a61b1feed5694b2647a5f5812e386 (patch)
treebee89dda539a6253f7f0779f0e80d599327f8947
parent483a3e0dc0609217a6d05f497e8ea86fcf28c7c7 (diff)
downloadports-2b0516308c8a61b1feed5694b2647a5f5812e386.tar.gz
ports-2b0516308c8a61b1feed5694b2647a5f5812e386.zip
Notes
-rw-r--r--x11-toolkits/ruby-qt2/Makefile2
-rw-r--r--x11-toolkits/ruby-qt2/Makefile.common7
2 files changed, 7 insertions, 2 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
index d03098b041e3..8f7add664b8e 100644
--- a/x11-toolkits/ruby-qt2/Makefile
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -15,7 +15,7 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-USE_QT2= yes
+USE_QT_VER= 2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
diff --git a/x11-toolkits/ruby-qt2/Makefile.common b/x11-toolkits/ruby-qt2/Makefile.common
index 6026627ab3f9..0efaf5863afa 100644
--- a/x11-toolkits/ruby-qt2/Makefile.common
+++ b/x11-toolkits/ruby-qt2/Makefile.common
@@ -1,7 +1,7 @@
# $FreeBSD$
RUBY_QT2_VERSION= 0.12
-RUBY_QT2_PORTVERSION= ${RUBY_QT2_VERSION}a.1
+RUBY_QT2_PORTVERSION= ${RUBY_QT2_VERSION}a.2
RUBY_QT2_MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
RUBY_QT2_DISTNAME= ruby-qt2-${RUBY_QT2_VERSION}
@@ -15,3 +15,8 @@ RUBY_QT2_CONFIGURE_ARGS= \
--with-qt2=qtgl
MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
+
+pre-build: pre-pre-build
+
+pre-pre-build:
+ ${RUBY} -i -pe 'sub /-lc\b/, "-pthread"' ${WRKSRC}/Makefile