Skip to content

Commit

Permalink
x11-toolkits/vte3: remove ugly warning message for builds without GNUTLS
Browse files Browse the repository at this point in the history
  • Loading branch information
rozhuk-im committed Jun 17, 2024
1 parent f538a49 commit 5d7e580
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x11-toolkits/vte3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ MESON_ARGS= -Da11y=true \
-Dicu=true \
-D_systemd=false \
-Dvapi=true
# Disable build time flooding.
CFLAGS+= -Wno-cast-function-type-strict

# shlib version numbers come from gtk3/4 meson options, not from PYTHON_VER
PLIST_SUB= VERSION=2.91 VER3=3.91
Expand All @@ -51,4 +53,8 @@ GNUTLS_MESON_OFF= -Dgnutls=false
GTK4_USE= GNOME=gtk40
GTK4_MESON_ON= -Dgtk4=true

post-patch-GNUTLS-off:
${REINPLACE_CMD} -e 's|#ifndef WITH_GNUTLS|#if 0|g' \
${WRKSRC}/src/vte.cc

.include <bsd.port.mk>

0 comments on commit 5d7e580

Please sign in to comment.