aboutsummaryrefslogtreecommitdiff
path: root/security/freebsd-update
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-23 13:43:26 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-23 13:43:26 +0000
commitfdd0318f3686ad5ca9e3f82933a34ceae5cdf37e (patch)
tree6478b055ba14b609c610a4abf3259fabd210f13f /security/freebsd-update
parentddc914d3650a8e38b4e82e93c905cd964fca36db (diff)
downloadports-fdd0318f3686ad5ca9e3f82933a34ceae5cdf37e.tar.gz
ports-fdd0318f3686ad5ca9e3f82933a34ceae5cdf37e.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>
Notes
Notes: svn path=/head/; revision=87555
Diffstat (limited to 'security/freebsd-update')
-rw-r--r--security/freebsd-update/files/patch-ab-path20
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; \