pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/patch Make compile on Interix. It doesn't #defi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0616624043ef
branches: trunk
changeset: 473148:0616624043ef
user: tv <tv%pkgsrc.org@localhost>
date: Fri Apr 16 20:11:51 2004 +0000
description:
Make compile on Interix. It doesn't #define BSD, but it also needs the
"avoid MS-DOS setmode()" treatment.
diffstat:
devel/patch/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a9fa8ccdaaf0 -r 0616624043ef devel/patch/Makefile
--- a/devel/patch/Makefile Fri Apr 16 19:35:52 2004 +0000
+++ b/devel/patch/Makefile Fri Apr 16 20:11:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/07/17 21:33:00 grant Exp $
+# $NetBSD: Makefile,v 1.18 2004/04/16 20:11:51 tv Exp $
#
DISTNAME= patch-2.5.4
@@ -30,7 +30,7 @@
${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig
${AWK} '/#include <pch.h>/{print $$0 "\n#include <sys/param.h>";next;}\
/^#if HAVE_SETMODE/ \
- {gsub(/^#if HAVE_SETMODE/,"#if defined(HAVE_SETMODE) \\&\\& (!(defined(BSD) \\&\\& BSD >= 199306))");print $$0; next; } \
+ {gsub(/^#if HAVE_SETMODE/,"#if defined(HAVE_SETMODE) \\&\\& !(defined(BSD) \\&\\& BSD >= 199306) \\&\\& !defined(__INTERIX)");print $$0; next; } \
{print $$0;}' \
< ${WRKSRC}/pch.c.orig \
> ${WRKSRC}/pch.c
Home |
Main Index |
Thread Index |
Old Index