summaryrefslogtreecommitdiff
path: root/security/heimdal
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
commitb4455771cced2fe9f134e751fe88dbba7226e694 (patch)
tree39733bef5e1d466d30938b5a47f0b46a7b6890b4 /security/heimdal
parentStandardize all user defined options to the booleans WITH_FOO and (diff)
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
Notes
Notes: svn path=/head/; revision=27680
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 9dc19c2b30f2..99c50d56a4fa 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -35,11 +35,8 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared
PREFIX= ${HEIMDAL_HOME}
.endif
-.if exists(${X11BASE}/lib/libX11.a) && !defined(NO_X11)
+.if exists(${X11BASE}/lib/libX11.a) && !defined(WITHOUT_X11)
USE_XLIB= yes
-.endif
-
-.if defined(USE_XLIB)
MAN1+= kx.1 rxtelnet.1 rxterm.1 tenletxr.1
MAN8+= kxd.8
CONFIGURE_ARGS+= --with-x
@@ -47,13 +44,9 @@ CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --without-x
.endif
-.if exists(/usr/lib/libkrb.a) && !defined(NO_KRB4)
-WITH_KRB4= yes
-.endif
-
-.if defined(WITH_KRB4)
+.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
CONFIGURE_ARGS+= --with-krb4
-.elif !defined(KRB5_KRB4_COMPAT) || ${KRB5_KRB4_COMPAT} == "NO"
+.elif !defined(KRB5_KRB4_COMPAT)
CONFIGURE_ARGS+= --without-krb4
.endif
@@ -61,7 +54,7 @@ PLIST:= ${WRKDIR}/PLIST
pre-install:
@${CP} ${PKGDIR}/PLIST ${PLIST}
-.if defined(WITH_KRB4)
+.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
@${CAT} ${PKGDIR}/PLIST.KRB4 >> ${PLIST}
.endif
.if defined(USE_XLIB)