NetBSD Problem Report #16691

Received: (qmail 15803 invoked from network); 6 May 2002 19:46:24 -0000
Message-Id: <20020506194608.C3CF57849@tiamat.goathill.org>
Date: Mon,  6 May 2002 14:46:08 -0500 (CDT)
From: kent@tiamat.goathill.org
Reply-To: kent@tiamat.goathill.org
To: gnats-bugs@gnats.netbsd.org
Subject: Request addition of math/glpk to pkgsrc
X-Send-Pr-Version: 3.95

>Number:         16691
>Category:       pkg
>Synopsis:       Request addition of math/glpk to pkgsrc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 06 19:47:00 +0000 2002
>Closed-Date:    Wed Jun 26 15:32:23 +0000 2002
>Last-Modified:  Wed Jun 26 15:32:23 +0000 2002
>Originator:     Kent Polk
>Release:        NetBSD 1.5.2
>Organization:
>Environment:

System: NetBSD kingu 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001     he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
GLPK (GNU Linear Programming Kit) is a set of routines written in
ANSI C and organized in the form of a library. This package is
intended for solving large-scale linear programming (LP), mixed
integer linear programming (MIP), and other related problems.

>How-To-Repeat:
Go into pkgsrc/math and note the lack of glpk

>Fix:
(please forgive my lack of experience here):
I believe the easiest way to install math/glpk is to use url2pkg:

$ url2pkg ftp://ftp.gnu.org/gnu/glpk/glpk-3.0.7

and use the following Makefile, or a better version of it:

Makefile:
# $NetBSD$
#

DISTNAME=       glpk-3.0.7
CATEGORIES=     math
MASTER_SITES=   ftp://ftp.gnu.org/gnu/glpk/

MAINTAINER=
HOMEPAGE=       http://www.gnu.org/software/glpk/glpk.html
COMMENT=        library for solving linear programming problems

GNU_CONFIGURE=  YES
USE_LIBTOOL=    YES

WRKSRC=         ${WRKDIR}/glpk-3.0.7
GNU_CONFIGURE=  YES

.include "../../mk/bsd.pkg.mk"

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dmcmahill 
State-Changed-When: Wed Jun 26 08:11:07 PDT 2002 
State-Changed-Why:  
package added.  thanks. 
next time, please include the PLIST and DESCR files. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.