git: 9d382bfd658f - main - devel/newt: Fix build

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 21:19:36 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d382bfd658f3d32f5f06fe040b4da69224318e4

commit 9d382bfd658f3d32f5f06fe040b4da69224318e4
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2021-10-13 21:19:19 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-10-13 21:19:34 +0000

    devel/newt: Fix build
---
 devel/newt/Makefile  | 1 -
 devel/newt/pkg-plist | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 9d2ab5c7014f..589d66e0e0fe 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -44,7 +44,6 @@ TCL_CPPFLAGS=		-I${TCL_INCLUDEDIR:Q}
 SOVERSION=	${PORTVERSION:R:E}
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-DUSE_INTERP_RESULT||' ${WRKSRC}/configure.ac
 	@${REINPLACE_CMD} -e \
 		's|@CPP@|@CC@ -E| ; \
 		 s|-D_GNU_SOURCE|| ; \
diff --git a/devel/newt/pkg-plist b/devel/newt/pkg-plist
index f722c969e1d3..35a05535ba6d 100644
--- a/devel/newt/pkg-plist
+++ b/devel/newt/pkg-plist
@@ -2,7 +2,7 @@ bin/whiptail
 include/newt.h
 lib/libnewt.a
 lib/libnewt.so
-lib/libnewt.so.%%SOVERSION%%
+lib/libnewt.so.0.%%SOVERSION%%
 lib/libnewt.so.%%VERSION%%
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/_snack.so
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/snack.py