mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add ${KRB5_HOME}/include to $CFLAGS and ${KRB5_HOME}/lib to
$XLOCKLIBS for people using kerberos5. Suggested by: Niels Kroon <niels@fundum.net>
This commit is contained in:
parent
65bb30c922
commit
a2921c23ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48219
@ -23,6 +23,8 @@ CONFIGURE_ARGS+= --enable-kerberos4
|
||||
.endif
|
||||
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
|
||||
CONFIGURE_ARGS+= --enable-kerberos5
|
||||
CFLAGS+= -I${KRB5_HOME}/include
|
||||
KRB5LIB= -L${KRB5_HOME}/lib
|
||||
.endif
|
||||
USE_X_PREFIX= yes
|
||||
USE_XPM= yes
|
||||
@ -31,11 +33,12 @@ MAN1= xlock.1
|
||||
WITH_MESAGL?= yes
|
||||
.if ${WITH_MESAGL} == yes
|
||||
CONFIGURE_ARGS+= --with-mesagl
|
||||
CONFIGURE_ENV+= XLOCKLIBS="${PTHREAD_LIBS}"
|
||||
MESALIB= ${PTHREAD_LIBS}
|
||||
USE_MESA= yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-mesagl --without-opengl
|
||||
.endif
|
||||
CONFIGURE_ENV+= XLOCKLIBS="${KRB5LIB} ${MESALIB}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user