summaryrefslogtreecommitdiff
path: root/security/krb5/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2007-10-29 22:49:49 +0000
committerCy Schubert <cy@FreeBSD.org>2007-10-29 22:49:49 +0000
commit55bf5d10924603888ad4f27c688d37629c20212f (patch)
treec1ce2351bcb51cb45bc6f8ce2c653b1008e8e055 /security/krb5/Makefile
parent- Fix fetching by using MASTER_SITE_LOCAL. (diff)
Fix build under 7.0-PRERELEASE.
Notes
Notes: svn path=/head/; revision=202364
Diffstat (limited to 'security/krb5/Makefile')
-rw-r--r--security/krb5/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 335a13a425e3..0708131e7cdb 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.6.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
@@ -78,6 +78,12 @@ HTML_DOCS= ftp.html kdestroy.html kinit.html klist.html \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 700000
+PLIST_SUB+= PKINIT="@comment "
+.else
+PLIST_SUB+= PKINIT=""
+.endif
+
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc