From e300fd9f6efab28a0ceec367bed358634ae264e2 Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Thu, 29 Jun 2006 19:06:40 +0000 Subject: Fix build when openssl isn't installed from ports. Reported by: krisbot and a lot of people --- net-p2p/libtorrent/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'net-p2p/libtorrent') 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 + +CONFIGURE_ARGS= --disable-debug --with-openssl=${OPENSSLBASE} + post-patch: @${REINPLACE_CMD} -e 's/-O3/${CFLAGS}/' ${WRKSRC}/configure -.include +.include -- cgit v1.2.3