summaryrefslogtreecommitdiff
path: root/security/aide
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-04-26 12:51:35 +0000
committerhubertf <hubertf@pkgsrc.org>2000-04-26 12:51:35 +0000
commit248b960960f953d81d184f4bc79811e0ad9c208c (patch)
tree87a60aaddac375e5f150ffcbce52fc39c85fb5ed /security/aide
parentde7d26915480f2e4903ac4ca707c7b6cc1817b13 (diff)
downloadpkgsrc-248b960960f953d81d184f4bc79811e0ad9c208c.tar.gz
Make this actually compile on recent NetBSD systems:
* force "bison -y" *via $YACC) * undefine _POSIX_C_SOURCE, needed to get S_ISLNK defined in <sys/stat.h>
Diffstat (limited to 'security/aide')
-rw-r--r--security/aide/Makefile4
-rw-r--r--security/aide/files/patch-sum3
-rw-r--r--security/aide/patches/patch-aa15
3 files changed, 21 insertions, 1 deletions
diff --git a/security/aide/Makefile b/security/aide/Makefile
index 7a665f65d43..3f5005a80bc 100644
--- a/security/aide/Makefile
+++ b/security/aide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/03/10 10:28:31 agc Exp $
+# $NetBSD: Makefile,v 1.2 2000/04/26 12:51:35 hubertf Exp $
#
DISTNAME= aide-0.6
@@ -10,5 +10,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.cs.tut.fi/~rammer/aide.html
GNU_CONFIGURE= yes
+BUILD_DEFS+= bison:../../devel/bison
+CONFIGURE_ENV+= YACC="bison -y"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/aide/files/patch-sum b/security/aide/files/patch-sum
new file mode 100644
index 00000000000..d86b70e2222
--- /dev/null
+++ b/security/aide/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2000/04/26 12:51:36 hubertf Exp $
+
+MD5 (patch-aa) = 2a1d6f0308a77ad8f0b1d830ad4b0ab5
diff --git a/security/aide/patches/patch-aa b/security/aide/patches/patch-aa
new file mode 100644
index 00000000000..4f719ecc242
--- /dev/null
+++ b/security/aide/patches/patch-aa
@@ -0,0 +1,15 @@
+--- include/aide.h.orig Wed Apr 26 14:45:29 2000
++++ include/aide.h Wed Apr 26 14:46:12 2000
+@@ -23,10 +23,12 @@
+ #include "db_config.h"
+ #include "config.h"
+
++#ifndef __NetBSD__
+ #ifndef _POSIX_C_SOURCE
+ /* For _POSIX_THREAD_SEMANTICS _REENTRANT */
+ #define _POSIX_C_SOURCE 199506L
+ #endif /* _POSIX_C_SOURCE */
++#endif /* __NetBSD__ */
+
+
+ #define AIDEVERSION VERSION