From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 19 02:40:09 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6197816A420 for ; Sun, 19 Feb 2006 02:40:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D37BE43D46 for ; Sun, 19 Feb 2006 02:40:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1J2e8QV058648 for ; Sun, 19 Feb 2006 02:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1J2e887058647; Sun, 19 Feb 2006 02:40:08 GMT (envelope-from gnats) Resent-Date: Sun, 19 Feb 2006 02:40:08 GMT Resent-Message-Id: <200602190240.k1J2e887058647@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, "Pedro F. Giffuni" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DA6616A420 for ; Sun, 19 Feb 2006 02:34:00 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3B0343D45 for ; Sun, 19 Feb 2006 02:33:59 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1J2XxHo085423 for ; Sun, 19 Feb 2006 02:33:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1J2Xxks085422; Sun, 19 Feb 2006 02:33:59 GMT (envelope-from nobody) Message-Id: <200602190233.k1J2Xxks085422@www.freebsd.org> Date: Sun, 19 Feb 2006 02:33:59 GMT From: "Pedro F. Giffuni" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/93547: Update math/glpk to version 4.9 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 02:40:09 -0000 >Number: 93547 >Category: ports >Synopsis: Update math/glpk to version 4.9 >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: Sun Feb 19 02:40:08 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 6.0-Release (amd64) >Organization: >Environment: FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #12: Sat Feb 11 13:45:47 COT 2006 root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION amd64 >Description: glpk doesn't have the option for generating a shared library, but on amd64 I need to build glpk with -fPIC in order to link dynamically a package called SYMPHONY (part of COIN-OR). While looking at the glpk port I also noticed there is a new version so I updated it. While here, pet portlint by renaming a "file" variable with docus. Of course this must be reviewed by the maintainer. >How-To-Repeat: >Fix: Patch follows: diff -ruN glpk.orig/Makefile glpk/Makefile --- glpk.orig/Makefile Sat Feb 18 20:16:49 2006 +++ glpk/Makefile Sat Feb 18 21:16:50 2006 @@ -6,7 +6,7 @@ # PORTNAME= glpk -PORTVERSION= 4.8 +PORTVERSION= 4.9 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glpk @@ -22,9 +22,15 @@ post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - for file in ${DOCFILES} ; do \ - ${INSTALL_DATA} ${WRKSRC}/doc/$$file ${DOCSDIR} ; \ + for docus in ${DOCFILES} ; do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$$docus ${DOCSDIR} ; \ done .endif -.include +.include + +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + +.include diff -ruN glpk.orig/distinfo glpk/distinfo --- glpk.orig/distinfo Sat Feb 18 20:16:49 2006 +++ glpk/distinfo Sat Feb 18 20:57:53 2006 @@ -1,2 +1,3 @@ -MD5 (glpk-4.8.tar.gz) = ec4df7a56a4ed98369c9f0bc7c82322b -SIZE (glpk-4.8.tar.gz) = 972875 +MD5 (glpk-4.9.tar.gz) = e1aecaf58adaaf155d178a95e46f8d77 +SHA256 (glpk-4.9.tar.gz) = 473e8d1f69cd5be1fae2e31a9992e020cc2150d3892eec8c2fb85ac97633584d +SIZE (glpk-4.9.tar.gz) = 1018189 diff -ruN glpk.orig/pkg-plist glpk/pkg-plist --- glpk.orig/pkg-plist Sat Feb 18 20:16:49 2006 +++ glpk/pkg-plist Sat Feb 18 21:20:15 2006 @@ -2,10 +2,12 @@ bin/tspsol include/glpavl.h include/glpdmp.h +include/glphbm.h include/glpiet.h include/glpinv.h include/glpios.h include/glpipm.h +include/glpipp.h include/glpk.h include/glplib.h include/glplpp.h >Release-Note: >Audit-Trail: >Unformatted: