summaryrefslogtreecommitdiff
path: root/textproc/glimpse
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-06-30 13:13:03 +0000
committeragc <agc@pkgsrc.org>1999-06-30 13:13:03 +0000
commit3eda7bfc1f6a6deffe66bea33c7f5b92ae4d55bd (patch)
tree0ee2e63d308ae706e569aa0c2a7d14224563d007 /textproc/glimpse
parenta898aa3b773d93f9213d7e546461795660c59002 (diff)
downloadpkgsrc-3eda7bfc1f6a6deffe66bea33c7f5b92ae4d55bd.tar.gz
Make this package work on Solaris as well as NetBSD - Solaris doesn't have
a decent flock(3).
Diffstat (limited to 'textproc/glimpse')
-rw-r--r--textproc/glimpse/files/autoconf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/glimpse/files/autoconf.h b/textproc/glimpse/files/autoconf.h
index 16ab70f681a..68d374e55d1 100644
--- a/textproc/glimpse/files/autoconf.h
+++ b/textproc/glimpse/files/autoconf.h
@@ -1,11 +1,15 @@
-/* $NetBSD: autoconf.h,v 1.1 1998/12/03 12:39:43 frueauf Exp $ */
+/* $NetBSD: autoconf.h,v 1.2 1999/06/30 13:13:03 agc Exp $ */
/*
* preprocessor variables used during build of glimpse-4.1
*/
#define HAVE_DIRENT_H 1
+#ifdef __NetBSD__
#define HAVE_FLOCK 1
+#else
+#undef HAVE_FLOCK
+#endif
#define HAVE_GETDTABLESIZE 1
#define HAVE_SETLINEBUF 1
#define HAVE_SETRLIMIT 1