Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 06:56:19 GMT
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124386: math/octave: fix dependencies 
Message-ID:  <200806080656.m586uJNs005816@www.freebsd.org>
Resent-Message-ID: <200806080700.m58708QT038596@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124386
>Category:       ports
>Synopsis:       math/octave: fix dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 08 07:00:08 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Apr 17 12:14:46 MSD 2008     makc@luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
ldd /usr/local/libexec/octave/3.0.0/oct/i386-portbld-freebsd7.0/__glpk__.oct shows missing library:
        libglpk.so.13 => not found (0x0)

>How-To-Repeat:

>Fix:
move math/glpk from build dependencies to lib

Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/math/octave/Makefile /home/makc/porting/ports/math/octave/Makefile
--- /usr/ports/math/octave/Makefile	2008-03-08 12:29:12.000000000 +0300
+++ /home/makc/porting/ports/math/octave/Makefile	2008-06-08 10:46:02.000000000 +0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	octave
 PORTVERSION=	3.0.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	math
 MASTER_SITES=	ftp://ftp.octave.org/pub/octave/ \
 		ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/
@@ -17,12 +17,12 @@
 
 BUILD_DEPENDS+=	gnuplot:${PORTSDIR}/math/gnuplot \
 		${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
-		${LOCALBASE}/lib/libglpk.a:${PORTSDIR}/math/glpk \
 		gsed:${PORTSDIR}/textproc/gsed \
 		dvips:${PORTSDIR}/print/dvipsk-tetex
 RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot \
 		gsed:${PORTSDIR}/textproc/gsed
 LIB_DEPENDS=	fftw3:${PORTSDIR}/math/fftw3 \
+		glpk.13:${PORTSDIR}/math/glpk \
 		hdf5:${PORTSDIR}/science/hdf5 \
 		umfpack.1:${PORTSDIR}/math/suitesparse \
 		qhull:${PORTSDIR}/math/qhull


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806080656.m586uJNs005816>