mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -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
|
||||
SERVICES_DESC= ratbox-services compatibility code
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENSSL}
|
||||
USE_OPENSSL= yes
|
||||
CONFIGURE_ARGS+= --enable-openssl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-openssl
|
||||
.endif
|
||||
|
||||
.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
|
||||
OPENSSL_USES= ssl
|
||||
OPENSSL_CONFIGURE_ENABLE= openssl
|
||||
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
|
||||
OPENSSL_CFLAGS= -I${OPENSSLINC}
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
ZIPLINKS_CONFIGURE_ENABLE= zlib
|
||||
SHARED_MODULES_CONFIGURE_ENABLE=shared-modules
|
||||
ASSERT_CONFIGURE_ENABLE= assert
|
||||
SMALL_NET_CONFIGURE_ENABLE= small-net
|
||||
SERVICES_CONFIGURE_ENABLE= services
|
||||
|
||||
#-- User Configuration -------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue