forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/surf: update webkit2gtk3 API version to 4.1
- turn static REINPLACE_CMD into patch as per policy Pull Request: freebsd#266
- Loading branch information
1 parent
7b2c9cf
commit 1c3d3da
Showing
2 changed files
with
37 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- config.mk.orig 2021-05-09 22:34:33 UTC | ||
+++ config.mk | ||
@@ -4,7 +4,7 @@ VERSION = 2.1 | ||
# Customize below to fit your system | ||
|
||
# paths | ||
-PREFIX = /usr/local | ||
+PREFIX ?= /usr/local | ||
MANPREFIX = $(PREFIX)/share/man | ||
LIBPREFIX = $(PREFIX)/lib | ||
LIBDIR = $(LIBPREFIX)/surf | ||
@@ -12,17 +12,17 @@ X11LIB = `pkg-config --libs x11` | ||
X11INC = `pkg-config --cflags x11` | ||
X11LIB = `pkg-config --libs x11` | ||
|
||
-GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0` | ||
-GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0` | ||
-WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0` | ||
-WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0` | ||
+GTKINC ?= `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1` | ||
+GTKLIB ?= `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.1` | ||
+WEBEXTINC = `pkg-config --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0` | ||
+WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0` | ||
|
||
# includes and libs | ||
INCS = $(X11INC) $(GTKINC) | ||
LIBS = $(X11LIB) $(GTKLIB) -lgthread-2.0 | ||
|
||
# flags | ||
-CPPFLAGS = -DVERSION=\"$(VERSION)\" -DGCR_API_SUBJECT_TO_CHANGE \ | ||
+CPPFLAGS += -DVERSION=\"$(VERSION)\" -DGCR_API_SUBJECT_TO_CHANGE \ | ||
-DLIBPREFIX=\"$(LIBPREFIX)\" -DWEBEXTDIR=\"$(LIBDIR)\" \ | ||
-D_DEFAULT_SOURCE | ||
SURFCFLAGS = -fPIC $(INCS) $(CPPFLAGS) |