aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/libtorrent
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2007-02-06 05:40:58 +0800
committerflz <flz@FreeBSD.org>2007-02-06 05:40:58 +0800
commitda667450c0875485a0843cdcd418d36a174d705c (patch)
tree544944c9ae58f8ff7cdd3555db1a65c9cf3fb28a /net-p2p/libtorrent
parentb703be3f7fce225de598745210153cb7ebeff09d (diff)
downloadfreebsd-ports-gnome-da667450c0875485a0843cdcd418d36a174d705c.tar.gz
freebsd-ports-gnome-da667450c0875485a0843cdcd418d36a174d705c.tar.zst
freebsd-ports-gnome-da667450c0875485a0843cdcd418d36a174d705c.zip
Fix libtorrent-devel when WITH_OPENSSL_BASE isn't defined.
Diffstat (limited to 'net-p2p/libtorrent')
-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: