Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 01:02:35 +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: r409080 - head/sysutils/acpica-tools/files
Message-ID:  <201602180102.u1I12ZU9040659@repo.freebsd.org>

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

Log:
  Simplify the previous patch.

Modified:
  head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile

Modified: head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile
==============================================================================
--- head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile	Thu Feb 18 00:35:20 2016	(r409079)
+++ head/sysutils/acpica-tools/files/patch-generate_unix_iasl_Makefile	Thu Feb 18 01:02:35 2016	(r409080)
@@ -7,12 +7,13 @@
 -	_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) &&\
+-	$(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) &&\
++	_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
  
  #



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