summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-09 02:17:11 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-09 02:37:04 +0800
commit7d992c5fed2f3c8a8953404fec189424d6da1144 (patch)
treef68c15012529e9d9f2fd5115e4a19bc72a893ec0
parentwww/libnghttp2: Update to 1.63.0 (diff)
www/libnghttp3: Update to 1.5.0
Changes: https://github.com/ngtcp2/nghttp3/releases
-rw-r--r--www/libnghttp3/Makefile14
-rw-r--r--www/libnghttp3/distinfo2
-rw-r--r--www/libnghttp3/files/patch-Makefile.in14
-rw-r--r--www/libnghttp3/pkg-plist4
4 files changed, 22 insertions, 12 deletions
diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile
index cb915c47dc2b..f9a07767a9c5 100644
--- a/www/libnghttp3/Makefile
+++ b/www/libnghttp3/Makefile
@@ -1,7 +1,7 @@
PORTNAME= nghttp3
-DISTVERSION= 1.5.0
+PORTVERSION= 1.5.0
CATEGORIES= www net
-MASTER_SITES= https://github.com/ngtcp2/${PORTNAME}/releases/download/v${DISTVERSION}/
+MASTER_SITES= https://github.com/ngtcp2/nghttp3/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= lib
MAINTAINER= sunpoet@FreeBSD.org
@@ -12,11 +12,11 @@ WWW= https://nghttp2.org/nghttp3/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cmake pathfix tar:xz
-USE_LDCONFIG= yes
-
-TEST_TARGET= check
+USES= libtool pathfix pkgconfig tar:xz
-CMAKE_ON= ENABLE_LIB_ONLY
+CONFIGURE_ARGS= --enable-lib-only
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/www/libnghttp3/distinfo b/www/libnghttp3/distinfo
index c59449778d28..c331d853a09a 100644
--- a/www/libnghttp3/distinfo
+++ b/www/libnghttp3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724528409
+TIMESTAMP = 1725559597
SHA256 (nghttp3-1.5.0.tar.xz) = 8c00e3910ea2ad1218dafebcf8dd2ffdf030c992d9ceb65834d29e5e5278dd0d
SIZE (nghttp3-1.5.0.tar.xz) = 391668
diff --git a/www/libnghttp3/files/patch-Makefile.in b/www/libnghttp3/files/patch-Makefile.in
new file mode 100644
index 000000000000..130c25e3faba
--- /dev/null
+++ b/www/libnghttp3/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+--- Makefile.in.orig 2022-01-22 09:12:33 UTC
++++ Makefile.in
+@@ -404,9 +404,9 @@ top_srcdir = @top_srcdir@
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+-SUBDIRS = lib tests doc examples
++SUBDIRS = lib
+ ACLOCAL_AMFLAGS = -I m4
+-dist_doc_DATA = README.rst
++dist_doc_DATA =
+ EXTRA_DIST = \
+ cmakeconfig.h.in \
+ CMakeLists.txt \
diff --git a/www/libnghttp3/pkg-plist b/www/libnghttp3/pkg-plist
index f5e90a19e16f..f2b11cdd64dd 100644
--- a/www/libnghttp3/pkg-plist
+++ b/www/libnghttp3/pkg-plist
@@ -1,9 +1,5 @@
include/nghttp3/nghttp3.h
include/nghttp3/version.h
-lib/cmake/nghttp3/nghttp3Config.cmake
-lib/cmake/nghttp3/nghttp3ConfigVersion.cmake
-lib/cmake/nghttp3/nghttp3Targets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/nghttp3/nghttp3Targets.cmake
lib/libnghttp3.a
lib/libnghttp3.so
lib/libnghttp3.so.9