aboutsummaryrefslogtreecommitdiff
path: root/sysutils/acpica-tools/files
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-03-22 17:47:45 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-03-22 17:47:45 +0000
commit6e6281f2c5bcf1542ab2aa6c78605407b391a7bd (patch)
tree6390a75909a024b8f5bfde3435014d6a0af6eebf /sysutils/acpica-tools/files
parent5dfecaa5d4ea4bf17c1b2acffb99b07dbcaab46f (diff)
downloadports-6e6281f2c5bcf1542ab2aa6c78605407b391a7bd.tar.gz
ports-6e6281f2c5bcf1542ab2aa6c78605407b391a7bd.zip
Notes
Diffstat (limited to 'sysutils/acpica-tools/files')
-rw-r--r--sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile b/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile
index 51fd3c8adab6..9970d4d8f9d7 100644
--- a/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile
+++ b/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile
@@ -1,6 +1,6 @@
---- generate/unix/iasl/Makefile.orig 2016-02-12 17:14:36 UTC
+--- generate/unix/iasl/Makefile.orig 2016-03-18 16:25:41 UTC
+++ generate/unix/iasl/Makefile
-@@ -272,12 +272,11 @@ include ../Makefile.rules
+@@ -274,12 +274,11 @@ include ../Makefile.rules
# Function to safely execute yacc
#
safe_yacc = \
@@ -10,11 +10,11 @@
- $(YACC) $(YFLAGS) -p$(1) -o$$_d/$$_f.c -d $(2) &&\
- mv $$_d/$$_f.$${_t\#\#*.} $(3);\
- test -d $$_d && rm -fr $$_d
-+ _d=$$(mktemp -d $(3).XXXXXX) &&\
-+ _t=$$_d/$(notdir $(basename $(2))) &&\
-+ $(YACC) $(YFLAGS) -p$(1) -o$$_t.c -d $(2) &&\
-+ mv $$_t$(suffix $(3)) $(3) &&\
-+ rm -fr $$_d
++ _d=$$(mktemp -d '$(abspath $(OBJDIR))/$(1).XXXXXX') &&\
++ cd "$$_d" &&\
++ $(YACC) $(YFLAGS) -p$(1) -o$(1).c -d '$(abspath $(2))' &&\
++ mv $(1)$(suffix $(3)) '$(abspath $(3))' &&\
++ rm -fr "$$_d"
#
# Macro processing for iASL .y files