ports/124386: math/octave: fix dependencies

Max Brazhnikov makc at issp.ac.ru
Sun Jun 8 07:00:08 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list