summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-09-26 14:25:52 +0000
committermef <mef@pkgsrc.org>2020-09-26 14:25:52 +0000
commit4870bd1dda6a41caa1b2aaa76bd4ecab4255355a (patch)
tree3bbfeadf56d74e1b1cfb99c841781e132b920562
parenta15f39175d1b1cdb93f623650b737a3901876f4a (diff)
downloadpkgsrc-4870bd1dda6a41caa1b2aaa76bd4ecab4255355a.tar.gz
(mail/mairix) build fix, probably bison 3.4.2 to 3.7.1 adaptation
-rw-r--r--mail/mairix/distinfo4
-rw-r--r--mail/mairix/patches/patch-dfasyn_Makefile22
2 files changed, 15 insertions, 11 deletions
diff --git a/mail/mairix/distinfo b/mail/mairix/distinfo
index c9949c7c113..8fd6ae7221e 100644
--- a/mail/mairix/distinfo
+++ b/mail/mairix/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 23:27:09 agc Exp $
+$NetBSD: distinfo,v 1.8 2020/09/26 14:25:52 mef Exp $
SHA1 (mairix-0.21.tar.gz) = a5f4767462d3f86950acaa0dafd132de0e0d0c43
RMD160 (mairix-0.21.tar.gz) = 68e9d0cf509c8524aa9e2f519b4385fd198f996a
SHA512 (mairix-0.21.tar.gz) = 82a7f5bc92efb7d6960922e8c05b075619b7072e90a0f3c0d3477ff5fb3cf9607e81748e1394f599e5049033207fbe72a373aaf872ac8db0f5e88ef17a5de1bc
Size (mairix-0.21.tar.gz) = 159089 bytes
SHA1 (patch-aa) = bc87571018a2470b09dd7f096794439ba8244025
-SHA1 (patch-dfasyn_Makefile) = 6788d8e793e05c3ee078d8471a69adaffe4cb1b3
+SHA1 (patch-dfasyn_Makefile) = 303257019b16e5c715e4fad0e9e45e1c9e4d8cf9
diff --git a/mail/mairix/patches/patch-dfasyn_Makefile b/mail/mairix/patches/patch-dfasyn_Makefile
index e1195c8f01a..eaf415e7927 100644
--- a/mail/mairix/patches/patch-dfasyn_Makefile
+++ b/mail/mairix/patches/patch-dfasyn_Makefile
@@ -1,16 +1,20 @@
-$NetBSD: patch-dfasyn_Makefile,v 1.1 2013/11/11 06:53:59 dholland Exp $
+$NetBSD: patch-dfasyn_Makefile,v 1.2 2020/09/26 14:25:52 mef Exp $
Fix MAKE_JOBS build; without this hack it runs two concurrent copies
of bison that produce garbage output.
---- dfasyn/Makefile~ 2007-06-22 20:18:00.000000000 +0000
+2. fix for bison-3.7.1
+
+--- dfasyn/Makefile.orig 2007-06-22 20:18:00.000000000 +0000
+++ dfasyn/Makefile
-@@ -32,7 +32,7 @@ OBJ = dfasyn.o parse.o scan.o \
- n2d.o expr.o evaluator.o \
- tabcompr.o compdfa.o
+@@ -47,8 +47,8 @@ dfasyn : $(OBJ)
+
+ parse.c parse.h : parse.y
+ bison -v -d parse.y
+- mv parse.tab.c parse.c
+- mv parse.tab.h parse.h
++ cp -f parse.tab.c parse.c
++ cp -f parse.tab.h parse.h
--all : dfasyn
-+all : parse.h .WAIT dfasyn
+ parse.o : parse.c dfasyn.h
- install : all
- [ -d $(bindir) ] || mkdir -p $(bindir)