Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 22:16:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567654 - in head/devel/pecl-mustache: . files
Message-ID:  <202103072216.127MGoUr038102@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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