Fix building when MAKE_KERBEROS4 is defined.
This commit is contained in:
parent
4a765861a7
commit
90e1d076cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57190
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue