pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35492: math/octave-forge tries to use graphics/ImageMagick



>Number:         35492
>Category:       pkg
>Synopsis:       math/octave-forge tries to use graphics/ImageMagick
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 26 19:50:00 +0000 2007
>Originator:     rosenfeld%grumpf.hope-2000.org@localhost
>Release:        pkgsrc-2006Q4
>Organization:
>Environment:
System: NetBSD panic 4.0_BETA2 NetBSD 4.0_BETA2 (PANIC) #1: Sun Jan 7 15:45:57 
CET 2007 woodstoc@panic:/usr/obj/sys/arch/i386/compile.i386/PANIC i386
Architecture: i386
Machine: i386
>Description:
If graphics/ImageMagick is installed, the configure script of
math/octave-forge will detect this and try to use it. This will then
cause the build to fail because math/octave-forge does not include the
graphics/ImageMagick buildlink file.
>How-To-Repeat:
install graphics/ImageMagick, then try to build math/octave-forge
>Fix:
The octave-forge configure script does not have an option to disable the
use of ImageMagick, which I think would be essential to make the
dependency on ImageMagick an option, or else the problem would still
exist and the option would just be a workaround.

The simple solution to this problem is to just make octave-forge depend
on ImageMagick.

Index: math/octave-forge/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/octave-forge/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- math/octave-forge/Makefile  4 Oct 2006 21:47:57 -0000       1.22
+++ math/octave-forge/Makefile  26 Jan 2007 18:26:35 -0000
@@ -43,6 +43,7 @@
        ${MKDIR} ${WRKSRC}/extra/pdb/scripts
        ${MV} ${WRKSRC}/extra/pdb/bin/rasmol.sh 
${WRKSRC}/extra/pdb/scripts/rasmol.sh
 
+.include "../../graphics/ImageMagick/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../math/gsl/buildlink3.mk"
Index: math/octave-forge/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/math/octave-forge/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- math/octave-forge/PLIST     20 Apr 2006 18:16:47 -0000      1.6
+++ math/octave-forge/PLIST     26 Jan 2007 18:26:36 -0000
@@ -65,6 +65,8 @@
 ${OCT_LOCALVEROCTFILEDIR}/octave-forge/__grishold__.oct
 ${OCT_LOCALVEROCTFILEDIR}/octave-forge/__grnewset__.oct
 ${OCT_LOCALVEROCTFILEDIR}/octave-forge/__grsetgraph__.oct
+${OCT_LOCALVEROCTFILEDIR}/octave-forge/__imagemagick__.oct
+${OCT_LOCALVEROCTFILEDIR}/octave-forge/__magick_read__.oct
 ${OCT_LOCALVEROCTFILEDIR}/octave-forge/_errcore.oct
 ${OCT_LOCALVEROCTFILEDIR}/octave-forge/_gfweight.oct
 ${OCT_LOCALVEROCTFILEDIR}/octave-forge/airy_Ai.oct




Home | Main Index | Thread Index | Old Index