Revision: 103250 https://trac.macports.org/changeset/103250 Author: ryandesign@macports.org Date: 2013-02-19 03:18:05 -0800 (Tue, 19 Feb 2013) Log Message: ----------- getopt: delete pre-compiled Linux ELF object files which cause build failures (#38088); use unversioned docdir Modified Paths: -------------- trunk/dports/sysutils/getopt/Portfile Modified: trunk/dports/sysutils/getopt/Portfile =================================================================== --- trunk/dports/sysutils/getopt/Portfile 2013-02-19 11:07:19 UTC (rev 103249) +++ trunk/dports/sysutils/getopt/Portfile 2013-02-19 11:18:05 UTC (rev 103250) @@ -4,6 +4,7 @@ name getopt version 1.1.5 +revision 1 categories sysutils license GPL-2+ installs_libs no @@ -30,6 +31,15 @@ sha1 9090eb46ac92f2fd2749ca4121e81aaad40f325d \ rmd160 5cdef902ada45ba5e8a66a1357be8189b0cc634f +post-extract { + # 1.1.5 ships with ELF .o files + fs-traverse f ${worksrcpath} { + if {[file isfile ${f}] && [file extension ${f}] == ".o"} { + delete ${f} + } + } +} + patchfiles patch-Makefile.diff depends_lib port:gettext @@ -49,7 +59,7 @@ destroot.target install install_doc post-destroot { - set docdir ${prefix}/share/doc/${name}-${version} + set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} COPYING Changelog README TODO \ ${destroot}${docdir}
participants (1)
-
ryandesign@macports.org