Skip to content

Commit

Permalink
www/libnghttp2: Convert back to autotools
Browse files Browse the repository at this point in the history
- Remove unnecessary substitution
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 3124676 commit 37c4249
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 29 deletions.
26 changes: 8 additions & 18 deletions www/libnghttp2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= nghttp2
DISTVERSION= 1.59.0
PORTVERSION= 1.59.0
CATEGORIES= www net
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= lib

MAINTAINER= sunpoet@FreeBSD.org
Expand All @@ -12,22 +12,12 @@ WWW= https://nghttp2.org/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING

USES= cmake cpe pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
USES= compiler:c++14-lang cpe libtool pathfix pkgconfig tar:xz

CMAKE_OFF= ENABLE_DOC \
ENABLE_FAILMALLOC \
ENABLE_HTTP3
CMAKE_ON= ENABLE_LIB_ONLY \
ENABLE_STATIC_LIB \
CMAKE_DISABLE_FIND_PACKAGE_Jansson \
CMAKE_DISABLE_FIND_PACKAGE_Jemalloc \
CMAKE_DISABLE_FIND_PACKAGE_Libcares \
CMAKE_DISABLE_FIND_PACKAGE_Libev \
CMAKE_DISABLE_FIND_PACKAGE_Libevent \
CMAKE_DISABLE_FIND_PACKAGE_Libnghttp3 \
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2 \
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2_crypto_openssl \
CMAKE_DISABLE_FIND_PACKAGE_LibXml2
CONFIGURE_ARGS= --enable-lib-only
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_CXXSTD= c++14
USE_LDCONFIG= yes

.include <bsd.port.mk>
11 changes: 0 additions & 11 deletions www/libnghttp2/files/patch-CMakeLists.txt

This file was deleted.

16 changes: 16 additions & 0 deletions www/libnghttp2/files/patch-Makefile.in
@@ -0,0 +1,16 @@
--- Makefile.in.orig 2023-02-13 12:02:52 UTC
+++ Makefile.in
@@ -448,11 +448,10 @@ 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 third-party src bpf examples tests integration-tests \
- doc contrib script
+SUBDIRS = lib

ACLOCAL_AMFLAGS = -I m4
-dist_doc_DATA = README.rst
+dist_doc_DATA =
EXTRA_DIST = nghttpx.conf.sample proxy.pac.sample android-config android-env \
Dockerfile.android \
cmakeconfig.h.in \

0 comments on commit 37c4249

Please sign in to comment.