mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
Use the threaded version of Qt2 library for 5-CURRENT.
Mark ruby-qt2gl broken for 4-STABLE due to the thread library problem.
This commit is contained in:
parent
60efde8367
commit
6abf760566
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40071
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qt2gl
|
||||
PORTVERSION= ${RUBY_QT2_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics x11-toolkits ruby
|
||||
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -25,13 +26,11 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../../x11-toolkits/ruby-qt2/Makefile.common"
|
||||
|
||||
WRKSRC= ${RUBY_QT2_WRKSRC}/modules/opengl
|
||||
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-qt2=qt2 \
|
||||
--with-x11-dir=${X11BASE}
|
||||
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
|
||||
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
@ -46,4 +45,4 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qt2xml
|
||||
PORTVERSION= ${RUBY_QT2_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc x11-toolkits ruby
|
||||
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -23,13 +24,11 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../../x11-toolkits/ruby-qt2/Makefile.common"
|
||||
|
||||
WRKSRC= ${RUBY_QT2_WRKSRC}/modules/xml
|
||||
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-qt2=qt2 \
|
||||
--with-x11-dir=${X11BASE}
|
||||
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
|
||||
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
@ -39,4 +38,4 @@ post-install:
|
||||
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qt2
|
||||
PORTVERSION= ${RUBY_QT2_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits ruby
|
||||
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -22,13 +23,11 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/Makefile.common"
|
||||
|
||||
WRKSRC= ${RUBY_QT2_WRKSRC}
|
||||
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-qt2=qt2 \
|
||||
--with-x11-dir=${X11BASE}
|
||||
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
|
||||
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
@ -48,4 +47,4 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -8,5 +8,21 @@ RUBY_QT2_DISTNAME= ruby-qt2-${RUBY_QT2_VERSION}
|
||||
RUBY_QT2_PORTDIR= ${PORTSDIR}/x11-toolkits/ruby-qt2
|
||||
|
||||
RUBY_QT2_WRKSRC= ${WRKDIR}/qt2
|
||||
RUBY_QT2_CONFIGURE_ARGS= \
|
||||
--with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-x11-dir=${X11BASE}
|
||||
.if ${OSVERSION} >= 500018
|
||||
RUBY_QT2_CONFIGURE_ARGS+= \
|
||||
--with-ldflags=-lc_r \
|
||||
--with-qt2=qt2-mt
|
||||
.else
|
||||
.if ${PORTNAME} == qt2gl
|
||||
BROKEN= "Qt2's GL support is only supported on 5-CURRENT due to a problem with the thread library."
|
||||
.endif
|
||||
|
||||
RUBY_QT2_CONFIGURE_ARGS+= \
|
||||
--with-qt2=qt2
|
||||
.endif
|
||||
|
||||
MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qt2canvas
|
||||
PORTVERSION= ${RUBY_QT2_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits ruby
|
||||
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -23,13 +24,11 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../ruby-qt2/Makefile.common"
|
||||
|
||||
WRKSRC= ${RUBY_QT2_WRKSRC}/modules/canvas
|
||||
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-qt2=qt2 \
|
||||
--with-x11-dir=${X11BASE}
|
||||
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
|
||||
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
@ -39,4 +38,4 @@ post-install:
|
||||
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qt2iconview
|
||||
PORTVERSION= ${RUBY_QT2_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits ruby
|
||||
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -23,13 +24,11 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../ruby-qt2/Makefile.common"
|
||||
|
||||
WRKSRC= ${RUBY_QT2_WRKSRC}/modules/iconview
|
||||
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-qt2=qt2 \
|
||||
--with-x11-dir=${X11BASE}
|
||||
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
|
||||
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
@ -39,4 +38,4 @@ post-install:
|
||||
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qt2table
|
||||
PORTVERSION= ${RUBY_QT2_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits ruby
|
||||
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -23,13 +24,11 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../ruby-qt2/Makefile.common"
|
||||
|
||||
WRKSRC= ${RUBY_QT2_WRKSRC}/modules/table
|
||||
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
|
||||
--with-qt2-lib=${X11BASE}/lib \
|
||||
--with-qt2=qt2 \
|
||||
--with-x11-dir=${X11BASE}
|
||||
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
|
||||
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
@ -39,4 +38,4 @@ post-install:
|
||||
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user