aboutsummaryrefslogtreecommitdiffstats
path: root/security/freebsd-update
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2005-11-15 07:10:17 +0800
committercperciva <cperciva@FreeBSD.org>2005-11-15 07:10:17 +0800
commitaa12c9db9d33864e92fc6c097afaf7e598d13e91 (patch)
treee2e3849724041790f45438a3ec3cb1d511f496bd /security/freebsd-update
parent83e9be5e9e30968a24f47cb5e484602fcea77e5a (diff)
downloadfreebsd-ports-graphics-aa12c9db9d33864e92fc6c097afaf7e598d13e91.tar.gz
freebsd-ports-graphics-aa12c9db9d33864e92fc6c097afaf7e598d13e91.tar.zst
freebsd-ports-graphics-aa12c9db9d33864e92fc6c097afaf7e598d13e91.zip
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
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 f192a3a8107..c9879f69b15 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>