Skip to content

Commit

Permalink
at 3.1.12: fix parallel make fix
Browse files Browse the repository at this point in the history
Use dummy target to avoid race with double yacc invocation.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
  • Loading branch information
Roman I Khimov committed Dec 9, 2010
1 parent c1d9a90 commit 9c3dfa6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions recipes/at/at-3.1.12/at-parallel-make-fix.patch
@@ -1,9 +1,15 @@
Index: at-3.1.12/Makefile.in
===================================================================
--- at-3.1.12.orig/Makefile.in 2010-08-22 18:48:13.000000000 +0400
+++ at-3.1.12/Makefile.in 2010-08-22 18:48:38.000000000 +0400
@@ -80,7 +80,7 @@
y.tab.c y.tab.h: parsetime.y
--- at-3.1.12.orig/Makefile.in 2010-09-13 15:28:33.000000000 +0400
+++ at-3.1.12/Makefile.in 2010-11-23 15:45:01.000000000 +0300
@@ -77,10 +77,12 @@
atd: $(RUNOBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)

-y.tab.c y.tab.h: parsetime.y
+y.tab.c y.tab.h: genparsetime
+
+genparsetime:
$(YACC) -d parsetime.y

-lex.yy.c: parsetime.l
Expand Down
2 changes: 1 addition & 1 deletion recipes/at/at_3.1.12.bb
Expand Up @@ -5,7 +5,7 @@ DEPENDS = "flex-native flex"
RCONFLICTS_${PN} = "atd"
RREPLACES_${PN} = "atd"

PR = "r2"
PR = "r3"

SRC_URI = " \
${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
Expand Down

0 comments on commit 9c3dfa6

Please sign in to comment.