diff options
author | thierry <thierry@FreeBSD.org> | 2014-02-26 04:16:29 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-02-26 04:16:29 +0800 |
commit | 99f249c43d3da75d61cd85df447fb4c602196466 (patch) | |
tree | 83a092106ff508556864e83269d326b67d5da378 /net-im | |
parent | 1a3024288e33afeea1f0f3f7457d368136bb6479 (diff) | |
download | freebsd-ports-gnome-99f249c43d3da75d61cd85df447fb4c602196466.tar.gz freebsd-ports-gnome-99f249c43d3da75d61cd85df447fb4c602196466.tar.zst freebsd-ports-gnome-99f249c43d3da75d61cd85df447fb4c602196466.zip |
Fix configure for default case.
${opt}_CONFIGURE_WITH does not work as I expected...
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/tox/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile index 95da90ce94d4..8ba424425510 100644 --- a/net-im/tox/Makefile +++ b/net-im/tox/Makefile @@ -41,10 +41,15 @@ SODIUM_LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium NACL_DESC= Prefer NaCl NACL_CONFIGURE_ENABLE= nacl -NACL_CONFIGURE_WITH= nacl-libs=${LOCALBASE}/lib NACL_BUILD_DEPENDS= ${LOCALBASE}/lib/libnacl.a:${PORTSDIR}/security/nacl NACL_RUN_DEPENDS= ${LOCALBASE}/lib/libnacl.a:${PORTSDIR}/security/nacl +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNACL} +CONFIGURE_ARGS+= --with-nacl-libs=${LOCALBASE}/lib +.endif + pre-configure: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac cd ${WRKSRC} && ./autogen.sh |