Date: Thu, 20 Mar 2014 03:27:02 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/187740: x11-toolkits/soqt: Fix build with clang Message-ID: <20140320032702.6edbcec4285a71185aaea7ea@yahoo.com> Resent-Message-ID: <201403191840.s2JIe0WQ002260@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187740 >Category: ports >Synopsis: x11-toolkits/soqt: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 19 18:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p7 i386 >Organization: >Environment: >Description: - Fix build with clang - Add LICENSE >How-To-Repeat: >Fix: diff -urN /usr/ports/x11-toolkits/soqt/Makefile x11-toolkits/soqt/Makefile --- /usr/ports/x11-toolkits/soqt/Makefile 2014-03-16 18:15:20.000000000 +0900 +++ x11-toolkits/soqt/Makefile 2014-03-20 00:00:00.000000000 +0900 @@ -12,25 +12,28 @@ 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 - -GNU_CONFIGURE= yes -CONFIGURE_ENV= QTDIR="${QT_PREFIX}" +LIB_DEPENDS= libCoin.so:${PORTSDIR}/graphics/Coin +USES= gmake pathfix pkgconfig +USE_QT4= corelib opengl moc_build +QT_NONSTANDARD= yes +USE_GL= gl +USE_AUTOTOOLS= libtool +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 \ + 's| $$sim_ac_coin_ldflags||' ${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 -urN /usr/ports/x11-toolkits/soqt/pkg-plist x11-toolkits/soqt/pkg-plist --- /usr/ports/x11-toolkits/soqt/pkg-plist 2014-01-23 03:15:57.000000000 +0900 +++ x11-toolkits/soqt/pkg-plist 2014-03-20 00:00:00.000000000 +0900 @@ -28,6 +28,7 @@ lib/libSoQt.so lib/libSoQt.so.25 libdata/pkgconfig/SoQt.pc +man/man1/soqt-config.1.gz share/Coin/conf/soqt-default.cfg share/aclocal/soqt.m4 @dirrmtry share/Coin/conf >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140320032702.6edbcec4285a71185aaea7ea>