diff options
author | tz <tz@FreeBSD.org> | 2017-12-05 23:56:04 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2017-12-05 23:56:04 +0800 |
commit | 2f9fb4bf2afdb978ecde25e6e997ad87c72292b8 (patch) | |
tree | 5c2917cb509317940b11153f391ea8bea83a7f24 /archivers | |
parent | e82d28ddcb858172fe4c58cddf91d6b7158fd5d8 (diff) | |
download | freebsd-ports-gnome-2f9fb4bf2afdb978ecde25e6e997ad87c72292b8.tar.gz freebsd-ports-gnome-2f9fb4bf2afdb978ecde25e6e997ad87c72292b8.tar.zst freebsd-ports-gnome-2f9fb4bf2afdb978ecde25e6e997ad87c72292b8.zip |
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
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/php71-phar/Makefile | 1 | ||||
-rw-r--r-- | archivers/php71-phar/files/patch-Makefile.frag | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/archivers/php71-phar/Makefile b/archivers/php71-phar/Makefile index 5e76f4c710bc..8616ed2e422e 100644 --- a/archivers/php71-phar/Makefile +++ b/archivers/php71-phar/Makefile @@ -2,6 +2,7 @@ CATEGORIES= archivers +PORTREVISION= 2 MASTERDIR= ${.CURDIR}/../../lang/php71 PKGNAMESUFFIX= -phar diff --git a/archivers/php71-phar/files/patch-Makefile.frag b/archivers/php71-phar/files/patch-Makefile.frag new file mode 100644 index 000000000000..8d5aceff2c0c --- /dev/null +++ b/archivers/php71-phar/files/patch-Makefile.frag @@ -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 + |