Date: Sun, 8 Aug 2021 22:04:13 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: c09dd410391c - main - net/libngtcp2: Convert REINPLACE_CMD to patch file Message-ID: <202108082204.178M4DPB010874@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=c09dd410391c7951297be60f244b5cef87dd23b5 commit c09dd410391c7951297be60f244b5cef87dd23b5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-08-08 21:35:37 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-08-08 21:43:49 +0000 net/libngtcp2: Convert REINPLACE_CMD to patch file --- net/libngtcp2/Makefile | 2 +- net/libngtcp2/files/patch-configure.ac | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/net/libngtcp2/Makefile b/net/libngtcp2/Makefile index 400c2a9e577c..e13f7b2267c5 100644 --- a/net/libngtcp2/Makefile +++ b/net/libngtcp2/Makefile @@ -23,6 +23,6 @@ GH_TAGNAME= a14be4e 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/net/libngtcp2/files/patch-configure.ac b/net/libngtcp2/files/patch-configure.ac new file mode 100644 index 000000000000..94f5f991bf30 --- /dev/null +++ b/net/libngtcp2/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2021-07-31 08:13:05 UTC ++++ configure.ac +@@ -22,7 +22,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([ngtcp2], [0.1.0-DEV], [t-tujikawa@users.sourceforge.net]) ++AC_INIT([ngtcp2], [%%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.178M4DPB010874>