aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/libtorrent/Makefile4
1 files changed, 2 insertions, 2 deletions
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 <bsd.port.pre.mk>
+
.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 <bsd.port.pre.mk>
-
CONFIGURE_ARGS+= --disable-debug --with-openssl=${OPENSSLBASE}
post-patch: