Bug 190814 - perl + threads options on graphics/ImageMagick throws error..
Summary: perl + threads options on graphics/ImageMagick throws error..
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 00:46 UTC by Michelle Sullivan
Modified: 2014-06-17 20:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.