mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
irc/ircd-ratbox-devel: Set SSL flags, update to modern options framework
Approved by: SSL and options blankets
This commit is contained in:
parent
e1ca74faa3
commit
ef36f5097f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421722
1 changed files with 10 additions and 36 deletions
|
@ -54,42 +54,16 @@ ASSERT_DESC= Enable debugging code
|
||||||
SMALL_NET_DESC= Tune server for small networks
|
SMALL_NET_DESC= Tune server for small networks
|
||||||
SERVICES_DESC= ratbox-services compatibility code
|
SERVICES_DESC= ratbox-services compatibility code
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
OPENSSL_USES= ssl
|
||||||
|
OPENSSL_CONFIGURE_ENABLE= openssl
|
||||||
.include <bsd.port.options.mk>
|
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
|
||||||
|
OPENSSL_CFLAGS= -I${OPENSSLINC}
|
||||||
.if ${PORT_OPTIONS:MOPENSSL}
|
IPV6_CONFIGURE_ENABLE= ipv6
|
||||||
USE_OPENSSL= yes
|
ZIPLINKS_CONFIGURE_ENABLE= zlib
|
||||||
CONFIGURE_ARGS+= --enable-openssl
|
SHARED_MODULES_CONFIGURE_ENABLE=shared-modules
|
||||||
.else
|
ASSERT_CONFIGURE_ENABLE= assert
|
||||||
CONFIGURE_ARGS+= --disable-openssl
|
SMALL_NET_CONFIGURE_ENABLE= small-net
|
||||||
.endif
|
SERVICES_CONFIGURE_ENABLE= services
|
||||||
|
|
||||||
.if ! ${PORT_OPTIONS:MIPV6}
|
|
||||||
CONFIGURE_ARGS+= --disable-ipv6
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ! ${PORT_OPTIONS:MZIPLINKS}
|
|
||||||
CONFIGURE_ARGS+= --disable-zlib
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ! ${PORT_OPTIONS:MSHARED_MODULES}
|
|
||||||
CONFIGURE_ARGS+= --disable-shared-modules
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MASSERT}
|
|
||||||
CONFIGURE_ARGS+= --enable-assert
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-assert
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MSMALL_NET}
|
|
||||||
CONFIGURE_ARGS+= --enable-small-net
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MSERVICES}
|
|
||||||
CONFIGURE_ARGS+= --enable-services
|
|
||||||
.endif
|
|
||||||
|
|
||||||
#-- User Configuration -------------------------------------------------
|
#-- User Configuration -------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue