summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-20 13:31:26 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-20 13:31:26 +0000
commitdb4031c8b289c4cc887a8856949197bf30e48aa3 (patch)
tree0663cc3246e77022ecf446ad3165ed71a95a4be4
parent075bdaff6981414ae6ccdd3293cb4894d53ca92a (diff)
downloadpkgsrc-db4031c8b289c4cc887a8856949197bf30e48aa3.tar.gz
Force devel/libevent on NetBSD 2, as it is far too old. Found by Dan on
NetBSD/alpha.
-rw-r--r--pkgtools/pbulk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile
index 61b82648805..6e9e165112e 100644
--- a/pkgtools/pbulk/Makefile
+++ b/pkgtools/pbulk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/19 23:51:18 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2007/06/20 13:31:26 joerg Exp $
DISTNAME= pbulk-0.1
CATEGORIES= pkgtools
@@ -49,5 +49,11 @@ do-extract:
post-install:
${INSTALL_DATA} ${WRKSRC}/pbulk.conf ${DESTDIR}${PREFIX}/share/examples/pbulk/pbulk.conf
+.if ${OPSYS} == "NetBSD"
+. if !empty(OS_VERSION:M2.*)
+USE_BUILTIN.libevent = no
+. endif
+.endif
+
.include "../../devel/libevent/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"