From owner-svn-ports-head@freebsd.org Fri Jul 29 17:31:44 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4BE1BA8874; Fri, 29 Jul 2016 17:31:44 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2ADC1435; Fri, 29 Jul 2016 17:31:44 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6THViJo089528; Fri, 29 Jul 2016 17:31:44 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6THVh2n089525; Fri, 29 Jul 2016 17:31:43 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201607291731.u6THVh2n089525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Fri, 29 Jul 2016 17:31:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419263 - head/math/glpk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2016 17:31:45 -0000 Author: pawel Date: Fri Jul 29 17:31:43 2016 New Revision: 419263 URL: https://svnweb.freebsd.org/changeset/ports/419263 Log: - Update to version 4.55 [1] - Convert to USES=localbase - Move OPTIONS block to proper place, use helpers - Argument --disable-dl for MYSQL=off was dropped because it made configure script fail when IODBC=on PR: 203448 Submitted by: pfg [1] Modified: head/math/glpk/Makefile head/math/glpk/distinfo head/math/glpk/pkg-plist Modified: head/math/glpk/Makefile ============================================================================== --- head/math/glpk/Makefile Fri Jul 29 16:03:42 2016 (r419262) +++ head/math/glpk/Makefile Fri Jul 29 17:31:43 2016 (r419263) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= glpk -PORTVERSION= 4.52.1 -PORTREVISION= 3 +PORTVERSION= 4.55 CATEGORIES= math MASTER_SITES= GNU @@ -14,57 +13,39 @@ LICENSE= GPLv3 LIB_DEPENDS= libgmp.so:math/gmp -OPTIONS_DEFINE= IODBC MYSQL DOCS -IODBC_DESC= MathProg iodbc support -MYSQL_DESC= MathProg mysql support - GNU_CONFIGURE= yes -USES= gmake libtool +USES= gmake libtool localbase USE_LDCONFIG= yes CFLAGS+= -trigraphs -CPPFLAGS+= -D_LSEEK_DECLARED -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -D_LSEEK_DECLARED CONFIGURE_ARGS+= --with-gmp CONFLICTS= goblin-[0-9]* -.include +DOCS1= cnfsat.pdf glpk.pdf gmpl.pdf graphs.pdf miplib2.txt \ + miplib3.txt netlib.txt +DOCS2= dfeas.pdf gomory.pdf keller.pdf scaling.pdf +PORTDOCS= ${DOCS1} ${DOCS2} -.if ${PORT_OPTIONS:MIODBC} || ${PORT_OPTIONS:MMYSQL} -CONFIGURE_ARGS+= --enable-dl=dlfcn -.else -CONFIGURE_ARGS+= --disable-dl -.endif - -.if ${PORT_OPTIONS:MIODBC} -CONFIGURE_ARGS+= --enable-odbc -LIB_DEPENDS+= libiodbc.so:databases/libiodbc -.else -CONFIGURE_ARGS+= --disable-odbc -.endif - -.if ${PORT_OPTIONS:MMYSQL} -CONFIGURE_ARGS+= --enable-mysql -USE_MYSQL= yes -.else -CONFIGURE_ARGS+= --disable-mysql -.endif +OPTIONS_DEFINE= IODBC MYSQL DOCS + +IODBC_DESC= MathProg iodbc support +IODBC_CONFIGURE_ON= --enable-dl=dlfcn --enable-odbc +IODBC_CONFIGURE_OFF= --disable-dl --disable-odbc +IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc + +MYSQL_DESC= MathProg mysql support +MYSQL_CONFIGURE_ON= --enable-dl=dlfcn --enable-mysql +MYSQL_CONFIGURE_OFF= --disable-mysql +MYSQL_USES= mysql post-patch: @${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \ ${WRKSRC}/configure -DOCS1= cnfsat.pdf glpk.pdf glpk_faq.txt gmpl.pdf graphs.pdf miplib2.txt \ - miplib3.txt netlib.txt -DOCS2= dfeas.pdf gomory.pdf keller.pdf scaling.pdf updating.pdf -PORTDOCS= ${DOCS1} ${DOCS2} - -post-install: - @${INSTALL_DATA} ${WRKSRC}/src/glplpx.h ${STAGEDIR}${PREFIX}/include -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC}/doc ; \ + cd ${WRKSRC}/doc ; \ ${INSTALL_DATA} ${DOCS1} ${DOCS2:S|^|notes/|} ${STAGEDIR}${DOCSDIR} -.endif check regression-test test: build @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check) Modified: head/math/glpk/distinfo ============================================================================== --- head/math/glpk/distinfo Fri Jul 29 16:03:42 2016 (r419262) +++ head/math/glpk/distinfo Fri Jul 29 17:31:43 2016 (r419263) @@ -1,2 +1,2 @@ -SHA256 (glpk-4.52.1.tar.gz) = 3231685b9ff92d30ccbb5c21ba7815b25ba59c7d1e5194e57a880dd1ebb3e95b -SIZE (glpk-4.52.1.tar.gz) = 2812957 +SHA256 (glpk-4.55.tar.gz) = 37090d7f16796ec1034496e182a39d5cc8bb7c9fb5dc48a38b13d620bf2b1de7 +SIZE (glpk-4.55.tar.gz) = 3424345 Modified: head/math/glpk/pkg-plist ============================================================================== --- head/math/glpk/pkg-plist Fri Jul 29 16:03:42 2016 (r419262) +++ head/math/glpk/pkg-plist Fri Jul 29 17:31:43 2016 (r419263) @@ -1,7 +1,6 @@ bin/glpsol include/glpk.h -include/glplpx.h lib/libglpk.a lib/libglpk.so lib/libglpk.so.36 -lib/libglpk.so.36.0.1 +lib/libglpk.so.36.1.2