Skip to content

Commit

Permalink
mail/balsa: update webkit2gtk3 API version to 4.1
Browse files Browse the repository at this point in the history
 - patch configure.ac instead of configure

Pull Request:	freebsd#266
  • Loading branch information
clausecker committed May 24, 2024
1 parent 1c3d3da commit 8931fe1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 34 deletions.
10 changes: 5 additions & 5 deletions mail/balsa/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= balsa
PORTVERSION= 2.6.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= http://pawsa.fedorapeople.org/balsa/

Expand All @@ -18,19 +18,19 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libgmime-3.0.so:mail/gmime30 \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libical.so:devel/libical \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libwebkit2gtk-4.1.so:www/webkit2-gtk3 \
libgnutls.so:security/gnutls \
libfribidi.so:converters/fribidi \
libsoup-2.4.so:devel/libsoup \
libsoup-3.0.so:devel/libsoup3 \
libgpgme.so:security/gpgme \
libcanberra.so:audio/libcanberra \
libharfbuzz.so:print/harfbuzz \
libsecret-1.so:security/libsecret \
libenchant-2.so:textproc/enchant2
RUN_DEPENDS= gnome-keyring:security/gnome-keyring

USES= cpe desktop-file-utils gettext gmake gnome iconv libtool pathfix perl5 \
pkgconfig tar:xz
USES= autoreconf cpe desktop-file-utils gettext gmake gnome iconv libtool \
pathfix perl5 pkgconfig tar:xz
CPE_VENDOR= gnome
USE_GNOME= cairo gdkpixbuf2 gnomeprefix intlhack libxslt gtksourceview4
USE_XORG= x11
Expand Down
29 changes: 0 additions & 29 deletions mail/balsa/files/patch-configure

This file was deleted.

20 changes: 20 additions & 0 deletions mail/balsa/files/patch-configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- configure.ac.orig 2024-05-24 20:46:22 UTC
+++ configure.ac
@@ -263,7 +263,7 @@ case "$use_html_widget" in
webkit2)
AC_MSG_RESULT([$use_html_widget])
# note: sqlite3 is needed to manage html vs. plain and image download preferences
- PKG_CHECK_MODULES(HTML, [ webkit2gtk-4.0 >= 2.28.0
+ PKG_CHECK_MODULES(HTML, [ webkit2gtk-4.1 >= 2.28.0
sqlite3 >= 3.24.0])
BALSA_WEB_EXTENSIONS="${libdir}/${PACKAGE}"
AC_SUBST(BALSA_WEB_EXTENSIONS)
@@ -342,7 +342,7 @@ if test x"$with_ldap" != xno ; then
AC_MSG_RESULT([yes])
AC_CHECK_LIB(ldap, ldap_search, AC_DEFINE(ENABLE_LDAP, 1,
[Defined when the LDAP support is to be compiled in.])
- LIBS="-lldap -llber -lresolv $LIBS", AC_MSG_ERROR([*** You enabled LDAP but ldap library is not found.]), -llber -lresolv)
+ LIBS="-lldap -llber $LIBS", AC_MSG_ERROR([*** You enabled LDAP but ldap library is not found.]), -llber)
AC_CHECK_LIB(ldap, ldap_start_tls_s,
AC_DEFINE(HAVE_LDAP_TLS,1,
[Defined when LDAP lib supports TLS]))

0 comments on commit 8931fe1

Please sign in to comment.