[MacPorts] #55757: port submission: p5-opencl
MacPorts
noreply at macports.org
Sun Jan 28 13:04:11 UTC 2018
#55757: port submission: p5-opencl
-------------------------+----------------------
Reporter: dsteck | Owner:
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: haspatch
Port: p5-opencl |
-------------------------+----------------------
Comment (by dsteck):
Thanks for the feedback! I'm attaching a revised Portfile and two patch
files with the requested changes, with a couple of caveats:
- I left master_sites in place, since without it MacPorts tries to fetch
it from >30 locations before failing with a timeout error (I removed
distfiles).
- I'm not quite sure if I did the platform darwin bit correctly for the
second patch (in the sense of being inside the perl5.major block).
To summarize, the revised files are:
Portfile
patch-src-Makefile.PL-default.diff (suppresses an interactive choice
during configuration, forcing OpenCL 1.2 over 1.1)
patch-src-Makefile.PL-framework.diff (adds '-framework OpenCL' to
Makefile.PL for proper linking in osx/darwin)
still needed: patch-src-default.h.diff (unchanged)
--
Ticket URL: <https://trac.macports.org/ticket/55757#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list