diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2007-02-01 14:59:39 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2007-02-01 14:59:39 +0000 |
commit | a0765952e2d927a22714897950e88cac01ec0137 (patch) | |
tree | 12b840abd379f14d00fcfacdfe0fd1f3ae43ca56 /net-p2p/libtorrent | |
parent | 7fc07835db0029a34a835fc6a7b333569157b597 (diff) | |
download | ports-a0765952e2d927a22714897950e88cac01ec0137.tar.gz ports-a0765952e2d927a22714897950e88cac01ec0137.zip |
Notes
Diffstat (limited to 'net-p2p/libtorrent')
-rw-r--r-- | net-p2p/libtorrent/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 0549dda83e13..8c61b0131cfe 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -32,6 +32,13 @@ EXTRA_PATCHES?= ${.CURDIR}/files/stable-* OPTIONS= KQUEUE "Use kqueue(2) support" on +.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 +# a *non-empty* value by-passes the pkg-config check. +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} |