Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 00:35:20 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409079 - head/sysutils/acpica-tools/files
Message-ID:  <201602180035.u1I0ZKV6031903@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Feb 18 00:35:20 2016
New Revision: 409079
URL: https://svnweb.freebsd.org/changeset/ports/409079

Log:
  Attempt to fix sporadic build failures.

Added:
  head/sysutils/acpica-tools/files/
  head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile   (contents, props changed)

Added: head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile	Thu Feb 18 00:35:20 2016	(r409079)
@@ -0,0 +1,19 @@
+--- generate/unix/iasl/Makefile.orig	2016-02-12 17:14:36 UTC
++++ generate/unix/iasl/Makefile
+@@ -272,12 +272,11 @@ include ../Makefile.rules
+ # Function to safely execute yacc
+ #
+ safe_yacc = \
+-	_f=`echo $(1) | tr '[:upper:]' '[:lower:]'` &&\
+-	_d=`mktemp -d $(OBJDIR)/$$_f.XXXXXX` &&\
+-	_t=`basename $(3)` &&\
++	_f=$(notdir $(basename $(2))) &&\
++	_d=$$(mktemp -d $(3).XXXXXX) &&\
+ 	$(YACC) $(YFLAGS) -p$(1) -o$$_d/$$_f.c -d $(2) &&\
+-	mv $$_d/$$_f.$${_t\#\#*.} $(3);\
+-	test -d $$_d && rm -fr $$_d
++	mv $$_d/$$_f$(suffix $(3)) $(3) &&\
++	rm -fr $$_d
+ 
+ #
+ # Macro processing for iASL .y files



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602180035.u1I0ZKV6031903>