[59553] trunk/dports/sysutils/apt-rpm/Portfile

afb at macports.org afb at macports.org
Fri Oct 16 11:13:16 PDT 2009


Revision: 59553
          http://trac.macports.org/changeset/59553
Author:   afb at macports.org
Date:     2009-10-16 11:13:12 -0700 (Fri, 16 Oct 2009)
Log Message:
-----------
address working directory change (#22118)

Modified Paths:
--------------
    trunk/dports/sysutils/apt-rpm/Portfile

Modified: trunk/dports/sysutils/apt-rpm/Portfile
===================================================================
--- trunk/dports/sysutils/apt-rpm/Portfile	2009-10-16 17:57:59 UTC (rev 59552)
+++ trunk/dports/sysutils/apt-rpm/Portfile	2009-10-16 18:13:12 UTC (rev 59553)
@@ -29,9 +29,9 @@
 patchfiles	patch-genbasedir.diff patch-rpmsense.diff
 
 post-patch {
-		reinplace "s;\"/\";\"${prefix}\";" apt-pkg/init.cc
-		reinplace "s;/bin/rpm;${prefix}/bin/rpm;" apt-pkg/rpm/rpmsystem.cc
-		reinplace "s;/var/cache/apt;${prefix}/var/cache/apt;" tools/cached_md5.cc
+		reinplace "s;\"/\";\"${prefix}\";" ${worksrcpath}/apt-pkg/init.cc
+		reinplace "s;/bin/rpm;${prefix}/bin/rpm;" ${worksrcpath}/apt-pkg/rpm/rpmsystem.cc
+		reinplace "s;/var/cache/apt;${prefix}/var/cache/apt;" ${worksrcpath}/tools/cached_md5.cc
 }
 
 configure.cxxflags -I${prefix}/include/rpm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091016/1ce1ec90/attachment-0001.html>


More information about the macports-changes mailing list