diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-02-16 20:59:22 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-02-16 20:59:22 +0000 |
commit | e0154387d6561c6d0d3a9880e6ece6c4bebda164 (patch) | |
tree | 361575b8ced09daa1d7cd47068b96eadb35da6cb /irc/bitlbee | |
parent | Upgrade to version 1.68. (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=185332
Diffstat (limited to 'irc/bitlbee')
-rw-r--r-- | irc/bitlbee/Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile index d33ac2043899..7676dbbb6f89 100644 --- a/irc/bitlbee/Makefile +++ b/irc/bitlbee/Makefile @@ -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 |