diff options
author | miwi <miwi@FreeBSD.org> | 2014-05-22 13:42:59 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-05-22 13:42:59 +0800 |
commit | 6f3169adb515eab0783d7d46d0277ad09ab9d753 (patch) | |
tree | 9117d7717abd5f0c2a6cb7158c353a50223f2677 /x11-toolkits/soqt | |
parent | 8e715fa72135ecb4625062777d49dd6e4eb41bed (diff) | |
download | freebsd-ports-gnome-6f3169adb515eab0783d7d46d0277ad09ab9d753.tar.gz freebsd-ports-gnome-6f3169adb515eab0783d7d46d0277ad09ab9d753.tar.zst freebsd-ports-gnome-6f3169adb515eab0783d7d46d0277ad09ab9d753.zip |
- Fix build with clang
- Add LICENSE
PR: 187740
Submitted by: Ports Fury
Diffstat (limited to 'x11-toolkits/soqt')
-rw-r--r-- | x11-toolkits/soqt/Makefile | 26 | ||||
-rw-r--r-- | x11-toolkits/soqt/pkg-plist | 6 |
2 files changed, 18 insertions, 14 deletions
diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile index f69737db7a73..cf3be78f5161 100644 --- a/x11-toolkits/soqt/Makefile +++ b/x11-toolkits/soqt/Makefile @@ -12,25 +12,29 @@ DIST_SUBDIR= KDE MAINTAINER= ports@FreeBSD.org COMMENT= Qt4 toolkit library for Coin -LIB_DEPENDS= Coin.61:${PORTSDIR}/graphics/Coin +LICENSE= GPLv2 -USE_AUTOTOOLS= libtool -USES= pathfix gmake -USE_QT4= corelib opengl moc_build -CPPFLAGS+= -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include -LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib +LIB_DEPENDS= libCoin.so:${PORTSDIR}/graphics/Coin +USES= gmake libtool pathfix pkgconfig +USE_QT4= corelib opengl moc_build +QT_NONSTANDARD= yes +USE_GL= gl GNU_CONFIGURE= yes -CONFIGURE_ENV= QTDIR="${QT_PREFIX}" - +CONFIGURE_ENV= QTDIR="${QT_PREFIX}" MOC="${MOC}" CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE} \ --with-qt=${QT_LIBDIR} USE_LDCONFIG= yes -MAN1= soqt-config.1 +CPPFLAGS+= -I${QT_INCDIR}/Qt -I${QT_INCDIR} -I${LOCALBASE}/include +LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib + +post-patch: + @${REINPLACE_CMD} -e \ + '/LDFLAGS/s| $$sim_ac_coin_ldflags|| ; \ + /CXXFLAGS/s| -fno-for-scope||' ${WRKSRC}/configure -NO_STAGE= yes post-install: - @${TOUCH} ${PREFIX}/include/Inventor/Qt/engines/.keep_me + @${TOUCH} ${STAGEDIR}${PREFIX}/include/Inventor/Qt/engines/.keep_me .include <bsd.port.mk> diff --git a/x11-toolkits/soqt/pkg-plist b/x11-toolkits/soqt/pkg-plist index 3b4fdd9be7f8..1be463bc32c9 100644 --- a/x11-toolkits/soqt/pkg-plist +++ b/x11-toolkits/soqt/pkg-plist @@ -23,11 +23,11 @@ include/Inventor/Qt/viewers/SoQtPlaneViewer.h include/Inventor/Qt/viewers/SoQtViewer.h include/Inventor/Qt/widgets/SoQtPopupMenu.h include/Inventor/Qt/widgets/SoQtThumbWheel.h -lib/libSoQt.a -lib/libSoQt.la lib/libSoQt.so -lib/libSoQt.so.25 +lib/libSoQt.so.20 +lib/libSoQt.so.20.5.0 libdata/pkgconfig/SoQt.pc +man/man1/soqt-config.1.gz share/Coin/conf/soqt-default.cfg share/aclocal/soqt.m4 @dirrmtry share/Coin/conf |