diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-23 21:43:26 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-23 21:43:26 +0800 |
commit | 2c1413a90eb4b5bfd809823de3f57583028a1d7c (patch) | |
tree | f0b2a8e7e4d75b22b93b34bce593ac4024f29903 /security | |
parent | 6503ea9624a960db13c317d36917ea0cca440482 (diff) | |
download | freebsd-ports-gnome-2c1413a90eb4b5bfd809823de3f57583028a1d7c.tar.gz freebsd-ports-gnome-2c1413a90eb4b5bfd809823de3f57583028a1d7c.tar.zst freebsd-ports-gnome-2c1413a90eb4b5bfd809823de3f57583028a1d7c.zip |
[MAINTAINER UPDATE] security/freebsd-update
Call bspatch with a full path; this fixes problems where
people are running freebsd-update with a PATH which doesn't
include /usr/local/bin
PR: ports/55869
Submitted by: Colin Percival <cperciva@daemonology.net>
Diffstat (limited to 'security')
-rw-r--r-- | security/freebsd-update/files/patch-ab-path | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/freebsd-update/files/patch-ab-path b/security/freebsd-update/files/patch-ab-path new file mode 100644 index 000000000000..73281e505ea3 --- /dev/null +++ b/security/freebsd-update/files/patch-ab-path @@ -0,0 +1,20 @@ +--- Makefile.orig Sat Mar 22 15:44:03 2003 ++++ Makefile Fri Aug 22 15:58:45 2003 +@@ -14,6 +14,7 @@ + uname -r | cut -f 1 -d '-' ) | lam - - + WORKDIR?=${.CURDIR}/work + MAILTO?=root ++BSPATCH!=which bspatch || echo /usr/local/bin/bspatch + + daily: + @sleep `jot -r 1 0 3600` +@@ -78,7 +79,8 @@ + rmdir ${WORKDIR}/${NUM}/install$$f; \ + ( fetch -qo ${WORKDIR}/${NUM}/$$z-$$y \ + ${FETCHROOT}/$$z-$$y && \ +- bspatch $$f ${WORKDIR}/${NUM}/install$$f.tmp \ ++ ${BSPATCH} $$f \ ++ ${WORKDIR}/${NUM}/install$$f.tmp \ + ${WORKDIR}/${NUM}/$$z-$$y && \ + rm ${WORKDIR}/${NUM}/$$z-$$y ) || \ + touch ${WORKDIR}/${NUM}/install$$f.tmp; \ |