diff options
-rw-r--r-- | lang/baci/distinfo | 3 | ||||
-rw-r--r-- | lang/baci/patches/patch-pascomp_Makefile | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/lang/baci/distinfo b/lang/baci/distinfo index 1d7158b5495..5cca61b4a07 100644 --- a/lang/baci/distinfo +++ b/lang/baci/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2015/12/29 23:34:43 dholland Exp $ +$NetBSD: distinfo,v 1.11 2020/09/26 11:24:17 mef Exp $ SHA1 (bacisrc.tar.gz) = 3b655bcbd2823047f3f92e6f2d3d12bc7eaa772d RMD160 (bacisrc.tar.gz) = c484e3c05734cac1dd394d9b09b256e2a2626897 @@ -23,3 +23,4 @@ SHA1 (patch-al) = 1cf7c2507a074c00f5ec0b42cf9169b4bc1d8c0e SHA1 (patch-am) = 3db7ead6cd08f0aa172ad62d2b8ef1b6b2a5fe63 SHA1 (patch-include_computil.h) = 2c1c48e3ff6be7a79e4990ad8f1adf0f8f92c1e8 SHA1 (patch-lib_computil.c) = 7b3bd08b60986a97c4490a8c06b5f78c977fde62 +SHA1 (patch-pascomp_Makefile) = 765e4630697e0b9e8bf82c3810f8c8114bfef5ec diff --git a/lang/baci/patches/patch-pascomp_Makefile b/lang/baci/patches/patch-pascomp_Makefile new file mode 100644 index 00000000000..450498ad613 --- /dev/null +++ b/lang/baci/patches/patch-pascomp_Makefile @@ -0,0 +1,26 @@ +$NetBSD: patch-pascomp_Makefile,v 1.1 2020/09/26 11:24:18 mef Exp $ + +------------------------ +gcc -g -Wall -c date.c +bison -tvd bapascal.y +mv -f bapascal.tab.c gram.c +mv -f bapascal.tab.h ytab.h +chmod 444 gram.c ytab.h +gcc -g -Wall -c gram.c +bapascal.tab.c:217:10: fatal error: bapascal.tab.h: No such file or directory +compilation terminated. +------------------------ +Above is a liitle bit strange, change mv to cp + + +--- pascomp/Makefile.orig 1999-08-31 16:19:13.000000000 +0000 ++++ pascomp/Makefile +@@ -23,7 +23,7 @@ date.o: + gram.o ytab.h: bapascal.y $(INCLS) + bison -tvd bapascal.y + mv -f bapascal.tab.c gram.c +- mv -f bapascal.tab.h ytab.h ++ cp -f bapascal.tab.h ytab.h + chmod 444 gram.c ytab.h + $(CC) $(CFLAGS) -c gram.c + |