svn commit: r567654 - in head/devel/pecl-mustache: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 7 22:16:56 UTC 2021
Author: sunpoet
Date: Sun Mar 7 22:16:49 2021
New Revision: 567654
URL: https://svnweb.freebsd.org/changeset/ports/567654
Log:
Convert REINPLACE_CMD to patch file
Added:
head/devel/pecl-mustache/files/
head/devel/pecl-mustache/files/patch-config.m4 (contents, props changed)
Modified:
head/devel/pecl-mustache/Makefile
Modified: head/devel/pecl-mustache/Makefile
==============================================================================
--- head/devel/pecl-mustache/Makefile Sun Mar 7 22:16:43 2021 (r567653)
+++ head/devel/pecl-mustache/Makefile Sun Mar 7 22:16:49 2021 (r567654)
@@ -17,7 +17,4 @@ USES= compiler:c++11-lang php:pecl
USE_CXXSTD= c++11
-post-patch:
- @${REINPLACE_CMD} -e '/stdc++/d' ${WRKSRC}/config.m4
-
.include <bsd.port.mk>
Added: head/devel/pecl-mustache/files/patch-config.m4
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-mustache/files/patch-config.m4 Sun Mar 7 22:16:49 2021 (r567654)
@@ -0,0 +1,10 @@
+--- config.m4.orig 2020-11-13 03:48:50 UTC
++++ config.m4
+@@ -70,7 +70,6 @@ if test "$PHP_MUSTACHE" != "no"; then
+
+ AC_DEFINE(HAVE_MUSTACHE, 1, [Whether you have mustache support])
+ PHP_REQUIRE_CXX()
+- PHP_ADD_LIBRARY(stdc++, 1, MUSTACHE_SHARED_LIBADD)
+
+ PHP_MUSTACHE_ADD_SOURCES([
+ php_mustache.cpp
More information about the svn-ports-head
mailing list