1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

archivers/php71-phar: Unbreak if devel/re2c is installed

There is a upstream bug which makes compiling this module
impossible if devel/re2c is installed:
https://bugs.php.net/bug.php?id=75587

The patch unbreaks this behavior.

PR:           223880
Submitted by: mishin@mh.san.ru
This commit is contained in:
Torsten Zuehlsdorff 2017-12-05 15:56:04 +00:00
parent 1ff674eb16
commit 9c66986f13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455586
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,7 @@
CATEGORIES= archivers
PORTREVISION= 2
MASTERDIR= ${.CURDIR}/../../lang/php71
PKGNAMESUFFIX= -phar

View File

@ -0,0 +1,9 @@
--- Makefile.frag.orig 2017-12-05 11:59:48 UTC
+++ Makefile.frag
@@ -1,5 +1,5 @@
$(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re
- @(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re)
+ @(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o phar_path_check.c phar_path_check.re)
pharcmd: $(builddir)/phar.php $(builddir)/phar.phar