- Add DEBUG, OPENSSL and IPV6 options.
PR: ports/108689 Submitted by: Spil Oss <spil.oss@gmail.com> Approved by: Peter van Dijk <peter@dataloss.nl> (maintainer, timeout)
This commit is contained in:
parent
09e9642c35
commit
e0154387d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185332
2 changed files with 36 additions and 4 deletions
|
@ -28,7 +28,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
|||
|
||||
OPTIONS= MSN "Enable MSN protocol support" On \
|
||||
LDAP "Enable LDAP authentication support" Off \
|
||||
RECODE "Enable oscar_recode_charset" Off
|
||||
RECODE "Enable oscar_recode_charset" Off \
|
||||
DEBUG "Create debuggable binary" Off \
|
||||
OPENSSL "Use openssl rather than gnutls" Off \
|
||||
IPV6 "Compile IPV6 support" On
|
||||
|
||||
CONFIGURE_ARGS= --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
|
||||
|
||||
|
@ -39,12 +42,17 @@ PATCHFILES+= ${PORTNAME}-1.0-ldap.diff
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MSN)
|
||||
LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
|
||||
CONFIGURE_ARGS+=--msn=1
|
||||
.else
|
||||
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OPENSSL)
|
||||
CONFIGURE_ARGS+=--ssl=openssl
|
||||
.else
|
||||
LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
USE_OPENLDAP= yes
|
||||
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
|
||||
|
@ -56,6 +64,14 @@ post-patch::
|
|||
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/oscar-recode-patch
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CONFIGURE_ARGS+=--debug=1
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_IPV6)
|
||||
CONFIGURE_ARGS+=--ipv6=0
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} -m 700 ${PREFIX}/etc/bitlbee
|
||||
|
||||
|
|
|
@ -28,7 +28,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
|||
|
||||
OPTIONS= MSN "Enable MSN protocol support" On \
|
||||
LDAP "Enable LDAP authentication support" Off \
|
||||
RECODE "Enable oscar_recode_charset" Off
|
||||
RECODE "Enable oscar_recode_charset" Off \
|
||||
DEBUG "Create debuggable binary" Off \
|
||||
OPENSSL "Use openssl rather than gnutls" Off \
|
||||
IPV6 "Compile IPV6 support" On
|
||||
|
||||
CONFIGURE_ARGS= --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
|
||||
|
||||
|
@ -39,12 +42,17 @@ PATCHFILES+= ${PORTNAME}-1.0-ldap.diff
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MSN)
|
||||
LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
|
||||
CONFIGURE_ARGS+=--msn=1
|
||||
.else
|
||||
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OPENSSL)
|
||||
CONFIGURE_ARGS+=--ssl=openssl
|
||||
.else
|
||||
LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
USE_OPENLDAP= yes
|
||||
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
|
||||
|
@ -56,6 +64,14 @@ post-patch::
|
|||
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/oscar-recode-patch
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CONFIGURE_ARGS+=--debug=1
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_IPV6)
|
||||
CONFIGURE_ARGS+=--ipv6=0
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} -m 700 ${PREFIX}/etc/bitlbee
|
||||
|
||||
|
|
Loading…
Reference in a new issue