diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2009-03-17 20:00:05 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2009-03-17 20:00:05 +0000 |
commit | 4e5f6ef523ee434ffd3ead4c03123c7a54e006f3 (patch) | |
tree | 6ff29824a78c0ca80d774b9ae27fdae9a4cd256b /x11-toolkits | |
parent | 97e238eadb249328d65f4f13c076d6498fbfad36 (diff) | |
download | ports-4e5f6ef523ee434ffd3ead4c03123c7a54e006f3.tar.gz ports-4e5f6ef523ee434ffd3ead4c03123c7a54e006f3.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/soqt/Makefile | 28 | ||||
-rw-r--r-- | x11-toolkits/soqt/files/patch-src-Inventor-Qt-SoQtComponent.cpp | 11 | ||||
-rw-r--r-- | x11-toolkits/soqt/pkg-descr | 4 |
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/ |