flavourize gssapi/kerberos5 support until automatic detection has been
resolved.
This commit is contained in:
parent
d354d26f2b
commit
5df9d550d4
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.47 2002/12/01 20:57:10 jakob Exp $
|
# $OpenBSD: Makefile,v 1.48 2002/12/09 20:54:12 jakob Exp $
|
||||||
|
|
||||||
COMMENT= "program for Internet E-mail and News"
|
COMMENT= "program for Internet E-mail and News"
|
||||||
COMMENT-pico= "small text editor"
|
COMMENT-pico= "small text editor"
|
||||||
@ -29,7 +29,7 @@ PERMIT_DISTFILES_FTP= Yes
|
|||||||
|
|
||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
|
|
||||||
FLAVORS= ldap
|
FLAVORS= kerberos ldap
|
||||||
FLAVOR?=
|
FLAVOR?=
|
||||||
|
|
||||||
MULTI_PACKAGES= -pico -pilot
|
MULTI_PACKAGES= -pico -pilot
|
||||||
@ -41,17 +41,19 @@ CATEGORIES= editors
|
|||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${FLAVOR:L} == "ldap" && ${SUBPACKAGE} == ""
|
PINE_BUILD_FLAGS= CC="${CC}" EXTRACFLAGS="${CFLAGS}" \
|
||||||
LIB_DEPENDS+= ldap.2:openldap-client-2.*:databases/openldap
|
SSLTYPE="unix" LOCALBASE="${LOCALBASE}"
|
||||||
|
|
||||||
|
.if ${FLAVOR:L:Mkerberos}
|
||||||
|
PINE_BUILD_FLAGS+= EXTRAAUTHENTICATORS="gss"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
PINE_BUILD_FLAGS= CC="${CC}" EXTRACFLAGS="${CFLAGS}" \
|
.if ${FLAVOR:L:Mldap}
|
||||||
SSLTYPE="unix" EXTRAAUTHENTICATORS="gss" \
|
|
||||||
LOCALBASE="${LOCALBASE}"
|
|
||||||
|
|
||||||
.if ${FLAVOR:L} == "ldap"
|
|
||||||
PINE_BUILD_FLAGS+= LDAPLIBS="-L${LOCALBASE}/lib -lldap -llber" \
|
PINE_BUILD_FLAGS+= LDAPLIBS="-L${LOCALBASE}/lib -lldap -llber" \
|
||||||
LDAPCFLAGS="-DENABLE_LDAP -I${LOCALBASE}/include"
|
LDAPCFLAGS="-DENABLE_LDAP -I${LOCALBASE}/include"
|
||||||
|
.if ${SUBPACKAGE} == ""
|
||||||
|
LIB_DEPENDS+= ldap.2:openldap-client-2.*:databases/openldap
|
||||||
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
|
Loading…
Reference in New Issue
Block a user