summaryrefslogtreecommitdiff
path: root/security/freebsd-update
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2005-11-14 23:10:17 +0000
committerColin Percival <cperciva@FreeBSD.org>2005-11-14 23:10:17 +0000
commit84e38ad43ca834fca7305dd93f037987fc3474a2 (patch)
treee637161be68ad3f4b7e0055305dda83bc4aaebc8 /security/freebsd-update
parent- Update to 0.4.29 (diff)
Now that bsdiff is part of the base system and conditional IGNORE=
lines have been added to misc/bsdiff, make the dependency here conditional. Reminded by: Richmond Felix
Notes
Notes: svn path=/head/; revision=148291
Diffstat (limited to 'security/freebsd-update')
-rw-r--r--security/freebsd-update/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/freebsd-update/Makefile b/security/freebsd-update/Makefile
index f192a3a81079..c9879f69b152 100644
--- a/security/freebsd-update/Makefile
+++ b/security/freebsd-update/Makefile
@@ -7,14 +7,19 @@
PORTNAME= freebsd-update
PORTVERSION= 1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.daemonology.net/freebsd-update/
MAINTAINER= cperciva@daemonology.net
COMMENT= Fetches and installs binary updates to FreeBSD
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600034 && ( ${OSVERSION} < 504104 || ${OSVERSION} > 599999 )
RUN_DEPENDS= bspatch:${PORTSDIR}/misc/bsdiff
+.endif
+
# This is a critical security port. If it breaks, Bad Things will happen.
# Under no circumstances should this port ever be modified without approval
# from the maintainer or security-officer, even for "cosmetic" fixes.
@@ -48,4 +53,4 @@ post-extract:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>