1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

dns/opendnssecs: Add SSL flags and honor them, configure SSL base too

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-12 02:41:08 +00:00
parent 743ab04359
commit 8dfabd5d2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421900

View File

@ -16,7 +16,8 @@ BUILD_DEPENDS= ldns>=1.6.16:dns/ldns
LIB_DEPENDS= libldns.so:dns/ldns
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var" \
--with-ssl=${OPENSSLBASE}
USE_RC_SUBR= opendnssec
USE_GNOME= libxml2
USES= ssl
@ -59,6 +60,10 @@ SQLITE_BUILD_DEPENDS= sqlite3>=3.3.9:databases/sqlite3
SOFTHSM_CONFIGURE_ON= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm.so
SOFTHSM_RUN_DEPENDS= softhsm>=1.2.0:security/softhsm
post-patch:
${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \
${WRKSRC}/configure
pre-install-MYSQL-on:
${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' ${WRKDIR}/opendnssec