Date: Fri, 14 Oct 2011 19:20:07 +0000 (UTC) From: "Christopher J. Ruwe" <cjr@cruwe.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161666: graphics/vigra dependacy hdf5.7 is unnecessary and obstructive Message-ID: <20111014192007.D5BA428471@cruwe.de> Resent-Message-ID: <201110141940.p9EJe23Y003561@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161666 >Category: ports >Synopsis: graphics/vigra dependacy hdf5.7 is unnecessary and obstructive >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 14 19:40:02 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Christopher J. Ruwe <cjr@cruwe.de> >Release: FreeBSD 8.2-STABLE >Organization: >Environment: >Description: Installing editors/libreoffice pulls in graphics/vigra as dependency. For graphics/vigra, hdf5.7 is hardcoded into port as dependency (science/hdf5-18), which said hdf5-18 does not supply. The reason making the port dependant on hdf5.7 escapes me, as in the port graphics/vigra a comment states that the port would compile without the "dependancy", which it does after manually removing the corresponing LIB_DEPENDS statement. >How-To-Repeat: Update ports-tree, update hdf5-18 and try installing graphics/vigra from ports. Port will not compile. >Fix: Remove LIB_DEPENDS statement for hdf5.7 from port science/hdf5-18. Patch included. Alternatively, remark on that issue in UPDATING. --- vigra-withouthdf.patch begins here --- diff -u /usr/ports/graphics/vigra/Makefile vigra/Makefile --- /usr/ports/graphics/vigra/Makefile 2011-10-14 20:52:03.319235984 +0200 +++ vigra/Makefile 2011-10-14 20:59:44.180947070 +0200 @@ -55,8 +55,4 @@ LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3 .endif -.if !defined(WITHOUT_VIGRA_HDF5) -LIB_DEPENDS+= hdf5.7:${PORTSDIR}/science/hdf5-18 -.endif - .include <bsd.port.mk> diff -u /usr/ports/graphics/vigra/Makefile~ vigra/Makefile~ --- /usr/ports/graphics/vigra/Makefile~ 2011-10-14 20:23:26.151600812 +0200 +++ vigra/Makefile~ 2011-10-14 20:53:02.090705561 +0200 @@ -55,8 +55,8 @@ LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3 .endif -#.if !defined(WITHOUT_VIGRA_HDF5) -#LIB_DEPENDS+= hdf5.7:${PORTSDIR}/science/hdf5-18 -#.endif +.if !defined(WITHOUT_VIGRA_HDF5) +LIB_DEPENDS+= hdf5.7:${PORTSDIR}/science/hdf5-18 +.endif .include <bsd.port.mk> --- vigra-withouthdf.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: >amd64 Environment: System: FreeBSD dijkstra.cruwe.de 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Aug 27 12:42:02 UTC 2011 root@:/usr/obj/zroot/rootnode/usr/src/8/sys/DIJKSTRA amd64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111014192007.D5BA428471>