From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 19 18:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6D3E618 for ; Wed, 19 Mar 2014 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B7B86C54 for ; Wed, 19 Mar 2014 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2JIe0fr002261 for ; Wed, 19 Mar 2014 18:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2JIe0WQ002260; Wed, 19 Mar 2014 18:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 19 Mar 2014 18:40:00 GMT Resent-Message-Id: <201403191840.s2JIe0WQ002260@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8503C4DF for ; Wed, 19 Mar 2014 18:32:45 +0000 (UTC) Received: from omta02.auone-net.jp (mail-or2-f145.auone-net.jp [111.87.219.145]) by mx1.freebsd.org (Postfix) with ESMTP id 59D07C12 for ; Wed, 19 Mar 2014 18:32:45 +0000 (UTC) Received: from coppermine.my.domain (ZT028161.ppp.dion.ne.jp [59.128.28.161]) by omta02.auone-net.jp (au one net mail) with ESMTP id D7B091560005 for ; Thu, 20 Mar 2014 03:32:42 +0900 (JST) Message-Id: <20140320032702.6edbcec4285a71185aaea7ea@yahoo.com> Date: Thu, 20 Mar 2014 03:27:02 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/187740: x11-toolkits/soqt: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 18:40:01 -0000 >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 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: