From da667450c0875485a0843cdcd418d36a174d705c Mon Sep 17 00:00:00 2001 From: flz Date: Mon, 5 Feb 2007 21:40:58 +0000 Subject: Fix libtorrent-devel when WITH_OPENSSL_BASE isn't defined. --- net-p2p/libtorrent/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-p2p/libtorrent') diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 8c61b0131cfe..4afd8d45c00e 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -32,6 +32,8 @@ EXTRA_PATCHES?= ${.CURDIR}/files/stable-* OPTIONS= KQUEUE "Use kqueue(2) support" on +.include + .if defined(WITH_OPENSSL_BASE) # The reason why I use this is cause openssl from base doesn't install a .pc file # and configure will fail trying to find it. Setting both of those variables to @@ -39,8 +41,6 @@ OPTIONS= KQUEUE "Use kqueue(2) support" on CONFIGURE_ENV= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include" .endif -.include - CONFIGURE_ARGS+= --disable-debug --with-openssl=${OPENSSLBASE} post-patch: -- cgit