summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-04-02 11:49:49 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-04-02 11:49:49 +0000
commit90e1d076cc1e0e5253eed769a876725a1c619682 (patch)
tree054419de82f660437b912611b23caa2619b68708 /x11/xlockmore
parentFix the build in the WITH_PGSQL=yes case. (diff)
Fix building when MAKE_KERBEROS4 is defined.
Notes
Notes: svn path=/head/; revision=57190
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 4e2e31ed525d..d941519d4652 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -21,6 +21,7 @@ CONFIGURE_ARGS= --without-gl --without-motif --without-sx \
--without-nas --without-gtk --without-esound
.if defined(MAKE_KERBEROS4)
CONFIGURE_ARGS+= --enable-kerberos4
+KRB4LIB= -lcom_err
.endif
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --enable-kerberos5
@@ -39,7 +40,7 @@ USE_MESA= yes
.else
CONFIGURE_ARGS+= --without-mesa --without-opengl
.endif
-CONFIGURE_ENV+= XLOCKLIBS="${KRB5LIB} ${MESALIB}"
+CONFIGURE_ENV+= XLOCKLIBS="${KRB5LIB} ${KRB4LIB} ${MESALIB}"
.include <bsd.port.pre.mk>