Bug 190814

Summary: perl + threads options on graphics/ImageMagick throws error..
Product: Ports & Packages Reporter: Michelle Sullivan <michelle>
Component: Individual Port(s)Assignee: Koop Mast <kwm>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Michelle Sullivan 2014-06-09 00:46:26 UTC
Another broken one...  Options THREAD and PERL causes this one...

====>> Computing deps for archivers/unzip
perl: not found
"Makefile", line 76: warning: "/bin/sh -c 'case `perl --version` in *freebsd-thread*) echo yes ;; esac'" returned non-zero status
====>> Computing deps for graphics/ImageMagick
WARNING (graphics/ImageMagick): perl: not found
WARNING (graphics/ImageMagick): "Makefile", line 76: warning: "/bin/sh -c 'case `perl --version` in *freebsd-thread*) echo yes ;; esac'" returned non-zero status
====>> Computing deps for java/java-zoneinfo

9.2-RELEASE amd64 (probably others as well - still testing)
Comment 1 Michelle Sullivan 2014-06-09 01:03:45 UTC
You might want to change:

/bin/sh -c 'case `perl --version` in *freebsd-thread*) echo yes ;; esac'

to:

/bin/sh -c 'case `which perl >/dev/null && perl --version` in *freebsd-thread*) echo yes ;; esac'

or:

/bin/sh -c 'if perl --version | grep -q freebsd-thread; then echo yes; fi'
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-06-13 03:29:47 UTC
Over to maintainer.