Opened 12 years ago
Closed 12 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)
Change History (7)
Changed 12 years ago by davidfavor (David Favor)
Changed 12 years ago by lockhart (Thomas Lockhart)
Attachment: | Portfile.diff added |
---|
Changed 12 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:3 Changed 12 years ago by pixilla (Bradley Giesbrecht)
Keywords: | haspatch maintainer added |
---|
comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
See r99226
Add extra patch file to fix getopt problem for perl5.16, increment revision number, and add maintainer.