From owner-svn-ports-all@FreeBSD.ORG Wed Oct 16 23:10:16 2013 Return-Path: Delivered-To: svn-ports-all@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 ESMTP id 3F55FF89; Wed, 16 Oct 2013 23:10:16 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 2C7C82135; Wed, 16 Oct 2013 23:10:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9GNAGvk042845; Wed, 16 Oct 2013 23:10:16 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9GNAFd1042842; Wed, 16 Oct 2013 23:10:15 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310162310.r9GNAFd1042842@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Wed, 16 Oct 2013 23:10:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330557 - head/math/coinmp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2013 23:10:16 -0000 Author: danilo Date: Wed Oct 16 23:10:15 2013 New Revision: 330557 URL: http://svnweb.freebsd.org/changeset/ports/330557 Log: - Update from 1.7.0 to 1.7.1 [1] - Add stage support - Force build with gcc - Convert LIB_DEPENDS to new syntax PR: ports/182886 Submitted by: Pedro Giffuni [1] Approved by: wg/culot (mentors, implicit) Modified: head/math/coinmp/Makefile head/math/coinmp/distinfo head/math/coinmp/pkg-plist Modified: head/math/coinmp/Makefile ============================================================================== --- head/math/coinmp/Makefile Wed Oct 16 22:56:27 2013 (r330556) +++ head/math/coinmp/Makefile Wed Oct 16 23:10:15 2013 (r330557) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= CoinMP -PORTVERSION= 1.7.0 +PORTVERSION= 1.7.1 CATEGORIES= math MASTER_SITES= http://www.coin-or.org/download/source/CoinMP/ EXTRACT_SUFX= .tgz @@ -17,21 +17,23 @@ LICENSE_PERMS= auto-accept CONFLICTS= clp-[0-9]* +USES= pkgconfig USE_AUTOTOOLS= libtool USE_LDCONFIG= yes +USE_GCC= any +CONFIGURE_ARGS+= PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig OPTIONS_DEFINE= DEBUG DOCS PORTDOCS= * -NO_STAGE= yes .include .if ${PORT_OPTIONS:MGLPK} BROKEN = the GLPK option requires math/glpk headers that are not currently installed by that port CONFIGURE_ARGS+= --with-gmpl-incdir=${LOCALBASE}/include \ --with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" -LIB_DEPENDS+= glpk:${PORTSDIR}/math/glpk +LIB_DEPENDS+= libglpk.so:${PORTSDIR}/math/glpk .else CONFIGURE_ARGS+= --disable-glpk-libcheck .endif @@ -42,11 +44,14 @@ CXXFLAGS+= -fomit-frame-pointer .endif post-patch:: - @${REINPLACE_CMD} -E -e \ - 's:\$$\(libdir\)/pkgconfig:${PREFIX}/libdata/pkgconfig:' \ + @${REINPLACE_CMD} -e \ + 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Clp/Makefile.in ${WRKSRC}/Osi/Makefile.in \ ${WRKSRC}/Cbc/Makefile.in ${WRKSRC}/Cgl/Makefile.in \ - ${WRKSRC}/CoinUtils/Makefile.in ${WRKSRC}/CoinMP/Makefile.in + ${WRKSRC}/CoinUtils/Makefile.in ${WRKSRC}/CoinMP/Makefile.in \ + ${WRKSRC}/Data/Sample/Makefile.in + @${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \ + ${WRKSRC}/CoinMP/Makefile.in pre-build: .for dir in Cbc Cgl Clp CoinMP CoinUtils Osi @@ -54,10 +59,8 @@ pre-build: .endfor post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MV} ${PREFIX}/share/coin/doc ${DOCSDIR} -.endif - ${RM} -rf ${PREFIX}/share/coin + ${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR} + ${RM} -rf ${STAGEDIR}${PREFIX}/share/coin check regression-test test: build @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ Modified: head/math/coinmp/distinfo ============================================================================== --- head/math/coinmp/distinfo Wed Oct 16 22:56:27 2013 (r330556) +++ head/math/coinmp/distinfo Wed Oct 16 23:10:15 2013 (r330557) @@ -1,2 +1,2 @@ -SHA256 (CoinMP-1.7.0.tgz) = 48bb3e89ed9ebbad1ea71ece575419b3bff81ab2c6257d353cf4c948010d5adb -SIZE (CoinMP-1.7.0.tgz) = 9647250 +SHA256 (CoinMP-1.7.1.tgz) = 47d09494384f1f40ae60b2a21d0c006042d00b1ebfcde7dc68a4f18c9b464ee8 +SIZE (CoinMP-1.7.1.tgz) = 9646573 Modified: head/math/coinmp/pkg-plist ============================================================================== --- head/math/coinmp/pkg-plist Wed Oct 16 22:56:27 2013 (r330556) +++ head/math/coinmp/pkg-plist Wed Oct 16 23:10:15 2013 (r330557) @@ -245,7 +245,7 @@ lib/libOsiClp.so.12 lib/libOsiCommonTests.la lib/libOsiCommonTests.so lib/libOsiCommonTests.so.11 -lib/pkgconfig/coindatasample.pc +libdata/pkgconfig/coindatasample.pc libdata/pkgconfig/clp.pc libdata/pkgconfig/osi-clp.pc libdata/pkgconfig/cbc.pc @@ -256,4 +256,3 @@ libdata/pkgconfig/coinmp.pc libdata/pkgconfig/osi-cbc.pc libdata/pkgconfig/osi-unittests.pc @dirrm include/coin -@dirrmtry lib/pkgconfig