summaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2006-06-29 19:06:40 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2006-06-29 19:06:40 +0000
commite300fd9f6efab28a0ceec367bed358634ae264e2 (patch)
tree01d3646d256cac821d8e87dce1b2fed1e86199be /net-p2p/libtorrent
parent- Add support for the new updmap(1). (diff)
Fix build when openssl isn't installed from ports.
Reported by: krisbot and a lot of people
Notes
Notes: svn path=/head/; revision=166623
Diffstat (limited to 'net-p2p/libtorrent')
-rw-r--r--net-p2p/libtorrent/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 6494dbeb54ee..1e210f07e0d6 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -20,12 +20,16 @@ CONFLICTS?= libtorrent-devel-[0-9]*
USE_GCC= 3.4
USE_GNOME= pkgconfig gnomehack
+USE_OPENSSL= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-debug
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS= --disable-debug --with-openssl=${OPENSSLBASE}
+
post-patch:
@${REINPLACE_CMD} -e 's/-O3/${CFLAGS}/' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>