summaryrefslogtreecommitdiff
path: root/net/sendfile/scripts/post-configure
blob: 67046216653d4709080032182a12e833da8d3496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# $NetBSD: post-configure,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $

echo "post-configure"

cd ${WRKSRC}
make config
cd ${WRKSRC}/src
patch <<-MOUSE-
--- config.h.orig	Sun Jun  6 18:23:52 1999
+++ config.h	Sun Jun  6 18:24:18 1999
@@ -86,7 +86,7 @@
 /* #undef HAVE_SOCKET */
 
 /* Define if you have the strerror function.  */
-/* #undef HAVE_STRERROR */
+#define HAVE_STRERROR
 
 /* Define if you have the uname function.  */
 /* #undef HAVE_UNAME */
-MOUSE-