summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-12-08 13:03:19 +0000
committerwiz <wiz@pkgsrc.org>2014-12-08 13:03:19 +0000
commite47f7f9cf8ea47deac9af7e212c484d63f5be363 (patch)
tree2172018a5e3c9518247c982b3d26fabab80798d0 /net
parent3a348b5dd781040351edb9f48a4e8c5191a4cddc (diff)
downloadpkgsrc-e47f7f9cf8ea47deac9af7e212c484d63f5be363.tar.gz
Fix libevent detection on NetBSD-current.
Diffstat (limited to 'net')
-rw-r--r--net/transmission/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/transmission/Makefile.common b/net/transmission/Makefile.common
index 4f3ab26de0c..0833194739d 100644
--- a/net/transmission/Makefile.common
+++ b/net/transmission/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2014/07/11 10:10:10 wiz Exp $
+# $NetBSD: Makefile.common,v 1.6 2014/12/08 13:03:19 wiz Exp $
#
# used by net/transmission/Makefile
# used by net/transmission-gtk/Makefile
@@ -35,6 +35,8 @@ CPPFLAGS+= -DBSD
LDFLAGS+= -framework CoreFoundation
.endif
+ALL_ENV+= LIBEVENT_CFLAGS=-I${BUILDLINK_PREFIX.libevent}/include
+ALL_ENV+= LIBEVENT_LIBS="-L${BUILDLINK_PREFIX.libevent}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libevent}/lib -levent"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
.include "../../devel/libevent/buildlink3.mk"
ALL_ENV+= "OPENSSL_CFLAGS=-I${SSLBASE}/include"