pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38046: Unable to build net/tor
The following reply was made to PR pkg/38046; it has been noted by GNATS.
From: OBATA Akio <obache%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38046: Unable to build net/tor
Date: Sun, 17 Feb 2008 22:53:39 +0900
> checking for libevent directory... configure: error: Could not find a
> linkable libevent. You can specify an explicit path using
> --with-libevent-dir *** Error code 1
Following patch fixes the problem?
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/tor/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- Makefile 20 Jan 2008 20:11:09 -0000 1.51
+++ Makefile 17 Feb 2008 13:50:28 -0000
@@ -40,9 +40,6 @@
OWN_DIRS_PERMS+= ${PKG_HOME} ${USER_GROUP} 0700
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
-.if !empty(BUILDLINK_PREFIX.libevent)
-CONFIGURE_ARGS+= --with-libevent-dir=${BUILDLINK_PREFIX.libevent:Q}
-.endif
CONF_FILES+= ${PREFIX}/share/examples/tor/tor-tsocks.conf \
${PKG_SYSCONFDIR}/tor-tsocks.conf
@@ -64,6 +61,9 @@
BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1a
.include "../../devel/libevent/buildlink3.mk"
+.if !empty(BUILDLINK_PREFIX.libevent)
+CONFIGURE_ARGS+= --with-libevent-dir=${BUILDLINK_PREFIX.libevent:Q}
+.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index