summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-23 18:44:31 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-23 18:44:31 +0000
commit7452024ab7890270b928863517b07225a0f2ad05 (patch)
treebd9cd4c0594a60a771631d05133a6a74a1cef3cb /x11-toolkits/ruby-qt2
parentAdd games/bomb, an interactive display hack for SVGAlib or X. (diff)
Detach the WITH_I18N knob and always configure for the int'lized
version of Qt.
Diffstat (limited to 'x11-toolkits/ruby-qt2')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
index d315b6fe1a93..71d51fe22216 100644
--- a/x11-toolkits/ruby-qt2/Makefile
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -15,7 +15,7 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-LIB_DEPENDS= ${QTLIB}.${QTLIB_SHLIBVER}:${PORTSDIR}/x11-toolkits/${QT_PORTNAME}
+LIB_DEPENDS= qt.3:${PORTSDIR}/x11-toolkits/qt145
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
@@ -28,17 +28,7 @@ CONFIGURE_ARGS= --with-qt-include=${X11BASE}/include/X11/qt \
MAKE_ARGS= LOCAL_LIBS=-lgcc
INSTALL_TARGET= site-install
-.if defined(WITH_I18N)
-I18NQT= -DI18NQT
-QTLIB= qti18n
-QTLIB_SHLIBVER= 3
-QT_PORTNAME= qt-i18n
-CONFIGURE_ARGS+= --with-qti18n=qti18n
-.else
-QTLIB= qt
-QTLIB_SHLIBVER= 3
-QT_PORTNAME= qt145
-.endif
+CONFIGURE_ARGS+= --with-qti18n
post-patch:
${RUBY} -i -pe 'gsub %r"/usr/X11\b", "${X11BASE}"' ${WRKSRC}/lib/qt.rb