1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

[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>
This commit is contained in:
Edwin Groothuis 2003-08-23 13:43:26 +00:00
parent ddc914d365
commit fdd0318f36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87555

View File

@ -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; \