summaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-02-05 21:40:58 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2007-02-05 21:40:58 +0000
commit9ca8677594374ac66882cc61447507530358968c (patch)
tree08961479299a1d16737f1abc0b245d29158e01c8 /net-p2p/libtorrent
parentThis is a rebuild of the (westwood) red alert game engine (based (diff)
Fix libtorrent-devel when WITH_OPENSSL_BASE isn't defined.
Notes
Notes: svn path=/head/; revision=184315
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: