On Jan 29, 2008, at 07:29, brett@macports.org wrote:
Revision: 33536 http://trac.macosforge.org/projects/macports/changeset/33536 Author: brett@macports.org Date: 2008-01-29 05:29:47 -0800 (Tue, 29 Jan 2008)
Log Message: ----------- and fix portfile for new location
Modified Paths: -------------- trunk/dports/sysutils/beanstalkd/Portfile
Modified: trunk/dports/sysutils/beanstalkd/Portfile =================================================================== --- trunk/dports/sysutils/beanstalkd/Portfile 2008-01-29 13:20:28 UTC (rev 33535) +++ trunk/dports/sysutils/beanstalkd/Portfile 2008-01-29 13:29:47 UTC (rev 33536) @@ -22,7 +22,7 @@ port:gmake
use_configure no -patchfiles patch-Makefile +patchfiles files/patch-Makefile patch.pre_args -p1 post-patch { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
No, that's not correct; this gives you: $ sudo port install beanstalkd Password: ---> Fetching beanstalkd ---> Attempting to fetch files/patch-Makefile from http:// svn.macports.org/repository/macports/distfiles/beanstalkd ---> Attempting to fetch files/patch-Makefile from http:// svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch files/patch-Makefile from http:// svn.macports.org/repository/macports/downloads/beanstalkd Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing. $ This revision should be reverted. The "files" directory is the location in which patchfiles are looked for. The directive "patchfiles patch-Makefile" was already correct.