aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-04-02 19:49:49 +0800
committertg <tg@FreeBSD.org>2002-04-02 19:49:49 +0800
commit0af0bfbc5425bebf526b6eaf8b56e59d11bf4fec (patch)
tree7eb9cc5054ee1a35a264bef699edfc1736b8d0df /x11
parent7843f2968276a36e13cf8b9ee81038952d8dc6fa (diff)
downloadfreebsd-ports-gnome-0af0bfbc5425bebf526b6eaf8b56e59d11bf4fec.tar.gz
freebsd-ports-gnome-0af0bfbc5425bebf526b6eaf8b56e59d11bf4fec.tar.zst
freebsd-ports-gnome-0af0bfbc5425bebf526b6eaf8b56e59d11bf4fec.zip
Fix building when MAKE_KERBEROS4 is defined.
Diffstat (limited to 'x11')
-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>