Skip to content

Commit

Permalink
www/deforaos-surfer: update webkit2gtk3 API version to 4.1
Browse files Browse the repository at this point in the history
Pull Request:	freebsd#266
  • Loading branch information
clausecker committed May 24, 2024
1 parent 8947133 commit 3d191b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions www/deforaos-surfer/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= surfer
PORTVERSION= 0.3.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Surfer/
PKGNAMEPREFIX= deforaos-
Expand All @@ -15,9 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
libDesktop.so:x11/deforaos-libdesktop \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libwebkit2gtk-4.1.so:www/webkit2-gtk3 \
libharfbuzz.so:print/harfbuzz \
libsoup-2.4.so:devel/libsoup
libsoup-3.0.so:devel/libsoup3

USES= gnome desktop-file-utils pkgconfig gettext
USE_XORG= x11
Expand Down
4 changes: 2 additions & 2 deletions www/deforaos-surfer/files/patch-src_Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
+CPPFLAGSF= -D WITH_WEBKIT2
CPPFLAGS=
-CFLAGSF =
+CFLAGSF = `pkg-config --cflags libDesktop gtk+-x11-3.0 webkit2gtk-4.0`
+CFLAGSF = `pkg-config --cflags libDesktop gtk+-x11-3.0 webkit2gtk-4.1`
CFLAGS = -W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
+LDFLAGSF= `pkg-config --libs libDesktop gtk+-x11-3.0 webkit2gtk-4.0` -lintl
+LDFLAGSF= `pkg-config --libs libDesktop gtk+-x11-3.0 webkit2gtk-4.1` -lintl
LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
EXEEXT =
RM = rm -f
Expand Down
6 changes: 3 additions & 3 deletions www/deforaos-surfer/files/patch-tools_Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- tools/Makefile.orig 2023-11-22 23:50:08 UTC
--- tools/Makefile.orig 2022-11-15 01:17:05 UTC
+++ tools/Makefile
@@ -6,11 +6,11 @@ CC = cc
BINDIR = $(PREFIX)/bin
Expand All @@ -8,10 +8,10 @@
+CPPFLAGSF= -D WITH_WEBKIT2 -I ../src
CPPFLAGS=
-CFLAGSF = `pkg-config --cflags libDesktop`
+CFLAGSF = `pkg-config --cflags libDesktop gtk+-x11-3.0 webkit2gtk-4.0`
+CFLAGSF = `pkg-config --cflags libDesktop gtk+-x11-3.0 webkit2gtk-4.1`
CFLAGS = -W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
-LDFLAGSF= `pkg-config --libs libDesktop`
+LDFLAGSF= `pkg-config --libs libDesktop gtk+-x11-3.0 webkit2gtk-4.0` -lintl
+LDFLAGSF= `pkg-config --libs libDesktop gtk+-x11-3.0 webkit2gtk-4.1` -lintl
LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
EXEEXT =
RM = rm -f

0 comments on commit 3d191b0

Please sign in to comment.