aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/soqt
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-03-18 04:00:05 +0800
committermakc <makc@FreeBSD.org>2009-03-18 04:00:05 +0800
commit29e05fac4b757e53a7d2e340a9f53dbaa3b845f0 (patch)
treea8f273e0adc847446faec1500e8e1cde23b79c62 /x11-toolkits/soqt
parentdc97d865fe42dd16eff5d44993bfaef6fa63bb14 (diff)
downloadfreebsd-ports-gnome-29e05fac4b757e53a7d2e340a9f53dbaa3b845f0.tar.gz
freebsd-ports-gnome-29e05fac4b757e53a7d2e340a9f53dbaa3b845f0.tar.zst
freebsd-ports-gnome-29e05fac4b757e53a7d2e340a9f53dbaa3b845f0.zip
Switch to use Qt4.
Pass maintainership to submitter. PR: based on ports/130925 Submitted by: Cristiano Rolim Pereira <cristianorolim at hotmail.com>
Diffstat (limited to 'x11-toolkits/soqt')
-rw-r--r--x11-toolkits/soqt/Makefile28
-rw-r--r--x11-toolkits/soqt/files/patch-src-Inventor-Qt-SoQtComponent.cpp11
-rw-r--r--x11-toolkits/soqt/pkg-descr4
3 files changed, 28 insertions, 15 deletions
diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile
index b7376c9d5afb..ba2996f74adf 100644
--- a/x11-toolkits/soqt/Makefile
+++ b/x11-toolkits/soqt/Makefile
@@ -7,23 +7,31 @@
PORTNAME= SoQt
PORTVERSION= 1.4.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= http://ftp.coin3d.org/coin/src/all/ \
ftp://ftp.coin3d.org/pub/coin/src/all/
DIST_SUBDIR= KDE
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Qt toolkit library for Coin
+MAINTAINER= cristianorolim@hotmail.com
+COMMENT= Qt4 toolkit library for Coin
LIB_DEPENDS= Coin.60:${PORTSDIR}/graphics/Coin
USE_AUTOTOOLS= libtool:15
-USE_QT_VER= 3
+USE_QT_VER= 4
+QT_COMPONENTS= corelib qt3support opengl moc_build
USE_GMAKE= yes
+CPPFLAGS+= -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include
+LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib
+
GNU_CONFIGURE= yes
-CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
-CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE}
+CONFIGURE_ENV= QTDIR="${QT_PREFIX}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+
+CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE} \
+ --with-qt=${QT_LIBDIR}
USE_LDCONFIG= yes
MAN1= soqt-config.1
@@ -31,10 +39,4 @@ MAN1= soqt-config.1
post-install:
@${TOUCH} ${PREFIX}/include/Inventor/Qt/engines/.keep_me
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == i386
-BROKEN= does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/soqt/files/patch-src-Inventor-Qt-SoQtComponent.cpp b/x11-toolkits/soqt/files/patch-src-Inventor-Qt-SoQtComponent.cpp
new file mode 100644
index 000000000000..04fc341f46ee
--- /dev/null
+++ b/x11-toolkits/soqt/files/patch-src-Inventor-Qt-SoQtComponent.cpp
@@ -0,0 +1,11 @@
+--- src/Inventor/Qt/SoQtComponent.cpp.orig 2009-03-16 23:36:07.000000000 -0300
++++ src/Inventor/Qt/SoQtComponent.cpp 2009-03-16 23:36:23.000000000 -0300
+@@ -100,7 +100,7 @@
+ this->parent->removeEventFilter(this);
+ }
+
+-static void delete_dict_value(unsigned long key, void * value)
++static void delete_dict_value(uintptr_t key, void * value)
+ {
+ delete (QCursor *)value;
+ }
diff --git a/x11-toolkits/soqt/pkg-descr b/x11-toolkits/soqt/pkg-descr
index eb70606270ab..01b7cef65102 100644
--- a/x11-toolkits/soqt/pkg-descr
+++ b/x11-toolkits/soqt/pkg-descr
@@ -1,7 +1,7 @@
-From the README:
-
SoQt is a Qt GUI component toolkit library for Coin. It is also compatible
with SGI and TGS Open Inventor, and the API is based on the API of the
InventorXt GUI component toolkit.
+Qt4 is used in this version.
+
WWW: http://www.coin3d.org/