summaryrefslogtreecommitdiff
path: root/net/sendfile/scripts/post-configure
diff options
context:
space:
mode:
Diffstat (limited to 'net/sendfile/scripts/post-configure')
-rwxr-xr-xnet/sendfile/scripts/post-configure21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/sendfile/scripts/post-configure b/net/sendfile/scripts/post-configure
new file mode 100755
index 00000000000..67046216653
--- /dev/null
+++ b/net/sendfile/scripts/post-configure
@@ -0,0 +1,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-