summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-05 19:26:20 +0000
committerknu <knu@FreeBSD.org>2001-04-05 19:26:20 +0000
commitd78bc65e44530464fa3be87ae73f6c80c1e2b61e (patch)
tree917db44c18edba67e47e1004e455bf2436d45770 /x11-toolkits
parent29c451abeba549ad0fbf1b1236d496bb9d2b93cf (diff)
downloadFreeBSD-ports-d78bc65e44530464fa3be87ae73f6c80c1e2b61e.zip
FreeBSD-ports-d78bc65e44530464fa3be87ae73f6c80c1e2b61e.tar.gz
Tweak for the qtgl problem regarding libc_r some people are seeing.
If this does not work, please send me the result of "make -DDEBUG" and the generated Makefile (if any).
Diffstat (limited to 'x11-toolkits')
-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 d03098b..8f7add6 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 6026627..0efaf58 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
OpenPOWER on IntegriCloud