summaryrefslogtreecommitdiff
path: root/security/kth-krb4
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2004-02-09 17:36:37 +0000
committerwennmach <wennmach@pkgsrc.org>2004-02-09 17:36:37 +0000
commitaefa0d1ec5232293eb5fd4e1fb94e85711cabbff (patch)
tree1434d11a1ac80f34883f0feeb930697b559ae0df /security/kth-krb4
parentce7483e4fd87995db0c279bc0b323e4fcb88a7ac (diff)
downloadpkgsrc-aefa0d1ec5232293eb5fd4e1fb94e85711cabbff.tar.gz
Pull in value of KRB4_PREFIX_CMDS from KERBEROS_PREFIX_CMDS.
This provides both, simple and fine-grained control over the Kerberos prefix. If not specified, KRB4_PREFIX_CMDS will default to the value of KERBEROS_PREFIX_CMDS. If specified, it overrides KERBEROS_PREFIX_CMDS.
Diffstat (limited to 'security/kth-krb4')
-rw-r--r--security/kth-krb4/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/security/kth-krb4/Makefile b/security/kth-krb4/Makefile
index e488df609eb..2bc3b33065c 100644
--- a/security/kth-krb4/Makefile
+++ b/security/kth-krb4/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2004/02/09 12:54:31 wennmach Exp $
+# $NetBSD: Makefile,v 1.30 2004/02/09 17:36:37 wennmach Exp $
#
DISTNAME= krb4-1.2.1
PKGNAME= kth-krb4-1.2.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security net
MASTER_SITES= ftp://ftp.pdc.kth.se/pub/krb/src/
@@ -27,10 +27,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/kerberosIV
.include "../../mk/bsd.prefs.mk"
-KRB4_PREFIX_CMDS?= no
+KERBEROS_PREFIX_CMDS?= no
+KRB4_PREFIX_CMDS?= ${KERBEROS_PREFIX_CMDS}
BUILD_DEFS+= KRB4_PREFIX_CMDS
.if !empty(KRB4_PREFIX_CMDS:M[yY][eE][sS])
-MIT_KRB4_TRANSFORM= s/^ftp/k4&/;\
+KTH_KRB4_TRANSFORM= s/^ftp/k4&/;\
s/^rcp/k4&/;\
s/^rlogin/k4&/;\
s/^rsh/k4&/;\
@@ -38,10 +39,10 @@ MIT_KRB4_TRANSFORM= s/^ftp/k4&/;\
s/^telnet/k4&/
PLIST_SUBST+= KRB4_PREFIX=k4
.else
-MIT_KRB4_TRANSFORM= s/^ftp$$/k4&/ # always k4ftp
+KTH_KRB4_TRANSFORM= s/^ftp$$/k4&/ # always k4ftp
PLIST_SUBST+= KRB4_PREFIX=
.endif
-CONFIGURE_ARGS+= --program-transform="${MIT_KRB4_TRANSFORM}"
+CONFIGURE_ARGS+= --program-transform="${KTH_KRB4_TRANSFORM}"
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool