mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
net/mpd5: make it possible to build with ssl=openssl111
Now as FreeBSD 12 got openssl-1.1.1 in base system and /usr/include/openssl/ssl.h and /usr/local/include/openssl/ssl.h are indentical, it is safe to allow building net/mpd5 with DEFAULT_VERSIONS having ssl=openssl111 and no reasons to break the build. However, resulting binary still links with base system /usr/lib/libssl.so because of libfetch(3) needs it and mpd5 links with libfetch too.
This commit is contained in:
parent
f4b5e31301
commit
ca57a74ce2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482627
@ -14,9 +14,8 @@ COMMENT= Multi-link PPP daemon based on netgraph(4)
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
BROKEN_SSL= openssl-devel openssl111
|
||||
BROKEN_SSL= openssl-devel
|
||||
BROKEN_SSL_REASON_openss-devel= needs libfetch(3) linked with system libssl
|
||||
BROKEN_SSL_REASON_openssl111= needs libfetch(3) linked with system libssl
|
||||
|
||||
OPTIONS_DEFINE= DOCS NG_IPACCT
|
||||
NG_IPACCT_DESC= Use ng_ipacct kernel module from port
|
||||
@ -30,6 +29,11 @@ USES= ssl
|
||||
|
||||
MAKE_ARGS+= OSVERSION=${OSVERSION}
|
||||
|
||||
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1200085
|
||||
BROKEN_SSL+= openssl111
|
||||
BROKEN_SSL_REASON_openssl111= needs libfetch(3) linked with system libssl
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNG_IPACCT}
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_ipacct.h:net-mgmt/ng_ipacct
|
||||
.if exists(${KMODDIR}/ng_ipacct.ko)
|
||||
|
Loading…
Reference in New Issue
Block a user