Revision: 91421 https://trac.macports.org/changeset/91421 Author: afb@macports.org Date: 2012-04-01 11:37:29 -0700 (Sun, 01 Apr 2012) Log Message: ----------- rpm54: fix platform config, drop unneeded patch Modified Paths: -------------- trunk/dports/sysutils/rpm54/Portfile Modified: trunk/dports/sysutils/rpm54/Portfile =================================================================== --- trunk/dports/sysutils/rpm54/Portfile 2012-04-01 17:14:27 UTC (rev 91420) +++ trunk/dports/sysutils/rpm54/Portfile 2012-04-01 18:37:29 UTC (rev 91421) @@ -6,6 +6,7 @@ version 5.4.7 set date 20120302 set branch [join [lrange [split ${version} .] 0 1] .] +revision 1 platforms darwin freebsd linux license LGPL-2.1 categories sysutils archivers @@ -68,14 +69,10 @@ system -W ${workpath} "${portutil::autoconf::tar_command} -xzf rpm-${version}.tar.gz" } -post-patch { - reinplace "s,sys/ipc.h,sys/endian.h sys/ipc.h," ${worksrcpath}/configure -} - post-destroot { xinstall -d -m 755 ${destroot}${prefix}/etc/rpm - system "${worksrcpath}/rpm --macros=${worksrcpath}/macros --eval='%{_target_platform}' > ${destroot}${prefix}/etc/rpm/platform" - system "${worksrcpath}/rpm --macros=${worksrcpath}/macros --eval='noarch-%{_target_vendor}-%{_target_os}%{?_gnu}' >> ${destroot}${prefix}/etc/rpm/platform" + system "${worksrcpath}/rpm --macros=${worksrcpath}/macros/macros --eval='%{_target_platform}' > ${destroot}${prefix}/etc/rpm/platform" + system "${worksrcpath}/rpm --macros=${worksrcpath}/macros/macros --eval='noarch-%{_target_vendor}-%{_target_os}%{?_gnu}' >> ${destroot}${prefix}/etc/rpm/platform" delete [glob ${destroot}${prefix}/lib/perl5/*/*/*/auto/RPM/.packlist] delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
participants (1)
-
afb@macports.org