1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add a GNUTLS knob (off by default for now) that controls our use of the

GNU Transport Layer Security library, aka the security/gnutls port.

Before 2009-09-26/revision 1.311 we had used this opportunistically,
then it was disabled across the board to guarantee consistent builds
and packages, and now it's a proper option that is needed for the game
of Warcraft III and possibly others.

PR:		144166
Submitted by:	Jan Henrik Sylvester <me@janh.de>
Adjusted by:	gerald
Feature safe:	yes
This commit is contained in:
Gerald Pfeifer 2010-03-01 00:24:22 +00:00
parent 8db8872391
commit 9eed840bb6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250438
2 changed files with 18 additions and 2 deletions

View File

@ -26,7 +26,7 @@ LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR} --verbose --disable-tests \
--without-capi --without-gnutls --without-gphoto \
--without-capi --without-gphoto \
--without-gsm --without-mpg123 --without-openal \
--without-sane --without-xcursor
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@ -48,6 +48,7 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" Off \
GNUTLS "Use GnuTLS" Off \
HAL "Use HAL (Hardware Abstraction Layer)" Off \
LDAP "Use LDAP" Off \
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off
@ -61,6 +62,13 @@ CONFIGURE_ARGS+= --with-cups
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
.endif
.ifdef WITH_GNUTLS
CONFIGURE_ARGS+= --with-gnutls
LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= --without-gnutls
.endif
.ifdef WITH_HAL
CONFIGURE_ARGS+= --with-hal
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal

View File

@ -26,7 +26,7 @@ LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR} --verbose --disable-tests \
--without-capi --without-gnutls --without-gphoto \
--without-capi --without-gphoto \
--without-gsm --without-mpg123 --without-openal \
--without-sane --without-xcursor
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@ -48,6 +48,7 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" Off \
GNUTLS "Use GnuTLS" Off \
HAL "Use HAL (Hardware Abstraction Layer)" Off \
LDAP "Use LDAP" Off \
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off
@ -61,6 +62,13 @@ CONFIGURE_ARGS+= --with-cups
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
.endif
.ifdef WITH_GNUTLS
CONFIGURE_ARGS+= --with-gnutls
LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= --without-gnutls
.endif
.ifdef WITH_HAL
CONFIGURE_ARGS+= --with-hal
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal