Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2021 22:04:18 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 72ca033fd7c6 - main - www/libnghttp3: Convert REINPLACE_CMD to patch file
Message-ID:  <202108082204.178M4Ixt010976@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72ca033fd7c6bf18889e41fbb764daa5de56ef16

commit 72ca033fd7c6bf18889e41fbb764daa5de56ef16
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-08-08 21:35:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-08-08 21:43:51 +0000

    www/libnghttp3: Convert REINPLACE_CMD to patch file
---
 www/libnghttp3/Makefile                 |  2 +-
 www/libnghttp3/files/patch-configure.ac | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile
index 7d630dfc7780..8e24625831f0 100644
--- a/www/libnghttp3/Makefile
+++ b/www/libnghttp3/Makefile
@@ -24,6 +24,6 @@ GH_TAGNAME=	6858c28
 USE_GITHUB=	yes
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|0.1.0-DEV|${PORTVERSION}|' ${WRKSRC}/configure.ac
+	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/configure.ac
 
 .include <bsd.port.mk>
diff --git a/www/libnghttp3/files/patch-configure.ac b/www/libnghttp3/files/patch-configure.ac
new file mode 100644
index 000000000000..fecaabd02a52
--- /dev/null
+++ b/www/libnghttp3/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2021-07-31 08:26:06 UTC
++++ configure.ac
+@@ -23,7 +23,7 @@
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ AC_PREREQ(2.61)
+-AC_INIT([nghttp3], [0.1.0-DEV], [t-tujikawa@users.sourceforge.net])
++AC_INIT([nghttp3], [%%PORTVERSION%%], [t-tujikawa@users.sourceforge.net])
+ AC_CONFIG_AUX_DIR([.])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_HEADERS([config.h])



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