Opened 12 years ago

Closed 11 years ago

#36759 closed defect (fixed)

openjade fails to build with perl-5.16 and above because getopts.pl missing

Reported by: davidfavor (David Favor) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch maintainer Cc: lockhart (Thomas Lockhart)
Port: openjade

Description

http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/024879.html describes problem + patch.

Using the http://sourceforge.net/projects/openjade/files/openjade/1.3.3/openjade-1.3.3-pre1.tar.gz version...

Or the svn version both fix this problem via http://openjade.sourceforge.net/svn.html instructions.

Since the 1.3.3 version is timestamped as 2003, using the svn is preferable.

An ugly + simple hack to fix version 1.3.2 is to copy getopts.pl in an old version of perl to the new... as in...

cp /opt/local/lib/perl5/5.12.4/getopts.pl /opt/local/lib/perl5/5.16.1/.

Attachments (3)

main.log (76.0 KB) - added by davidfavor (David Favor) 12 years ago.
Portfile.diff (778 bytes) - added by lockhart (Thomas Lockhart) 11 years ago.
Add extra patch file to fix getopt problem for perl5.16, increment revision number, and add maintainer.
openjade-getoptperl.patch (510 bytes) - added by lockhart (Thomas Lockhart) 11 years ago.
Patch to allow building with perl5.16 and higher. Also builds with perl5.12 (and probably any perl5). Patch taken verbatim from a recent Fedora source RPM but needed to change the depth of the file paths to be compatible with using "patch -p0" as is the case for the existing patches.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by davidfavor (David Favor)

Attachment: main.log added

Changed 11 years ago by lockhart (Thomas Lockhart)

Attachment: Portfile.diff added

Add extra patch file to fix getopt problem for perl5.16, increment revision number, and add maintainer.

Changed 11 years ago by lockhart (Thomas Lockhart)

Attachment: openjade-getoptperl.patch added

Patch to allow building with perl5.16 and higher. Also builds with perl5.12 (and probably any perl5). Patch taken verbatim from a recent Fedora source RPM but needed to change the depth of the file paths to be compatible with using "patch -p0" as is the case for the existing patches.

comment:1 Changed 11 years ago by lockhart (Thomas Lockhart)

I think this is ready to go.

comment:2 Changed 11 years ago by lockhart (Thomas Lockhart)

Cc: lockhart@… added

Cc Me!

comment:3 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Keywords: haspatch maintainer added

comment:4 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r99226

Note: See TracTickets for help on using tickets.