summaryrefslogtreecommitdiff
path: root/net/sendfile/patches
diff options
context:
space:
mode:
authoragc <agc>2001-10-25 19:02:47 +0000
committeragc <agc>2001-10-25 19:02:47 +0000
commit714d20c9b0e94f749b253d46fe0db781481e8b42 (patch)
tree3af40b8a7007d6698cf3922bf305ea6096891610 /net/sendfile/patches
parentc2ae71674c6b50174fe19314110b51e785660415 (diff)
downloadpkgsrc-714d20c9b0e94f749b253d46fe0db781481e8b42.tar.gz
Rather than re-patching in a post-configure stage by means of a
script, do this at configure time by means of a conventional patch to the configuration script. Move the invocation of the post-configure stage to be a package Makefile target, rather than in a script file.
Diffstat (limited to 'net/sendfile/patches')
-rw-r--r--net/sendfile/patches/patch-aa17
1 files changed, 14 insertions, 3 deletions
diff --git a/net/sendfile/patches/patch-aa b/net/sendfile/patches/patch-aa
index 2a08d065503..6b07e25f59e 100644
--- a/net/sendfile/patches/patch-aa
+++ b/net/sendfile/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2001/02/26 11:34:55 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2001/10/25 19:02:48 agc Exp $
---- makeconfig.orig Thu Aug 26 20:53:32 1999
-+++ makeconfig
+--- makeconfig.orig Thu Aug 26 19:53:32 1999
++++ makeconfig Thu Oct 25 19:53:04 2001
@@ -16,10 +16,10 @@
# default installation settings
@@ -17,3 +17,14 @@ $NetBSD: patch-aa,v 1.2 2001/02/26 11:34:55 wiz Exp $
INETDCONF=/etc/inetd.conf
SERVICES=/etc/services
+@@ -108,6 +108,10 @@
+ # esac;;
+ # *) SYSTEM=UNKNOWN;;
+ # esac;;
++esac
++
++case "$SYSTEM" in
++BSD) CFLAGS="$CFLAGS -DHAVE_STRERROR=1" ;;
+ esac
+
+ cd ../src