Add WITHOUT_OPENCDK and WITHOUT_LIBTASN1 knobs to respect if the
user wishes to build gnutls with the included versions instead of the ones from ports. PR: 121357 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com>
This commit is contained in:
parent
77992571ed
commit
fdf9564130
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214878
1 changed files with 6 additions and 2 deletions
|
@ -39,12 +39,16 @@ CONFIGURE_ARGS+= --with-included-lzo --disable-guile
|
|||
MANCOMPRESSED= no
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.10)
|
||||
.if (defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.10)) && !defined(WITHOUT_OPENCDK)
|
||||
LIB_DEPENDS+= opencdk.10:${PORTSDIR}/security/opencdk
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-included-opencdk
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
|
||||
.if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)) && !defined(WITHOUT_LIBTASN1)
|
||||
LIB_DEPENDS+= tasn1.3:${PORTSDIR}/security/libtasn1
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-included-libtasn1
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
|
|
Loading…
Reference in a new issue