surf is a minimalistic web browser using webkit, in the spirit of dwm/suckless.org softwares. It supports the Xembedded protocol which makes it possible to embed it into another application. Furthermore one can point surf to another URI by setting its XProperties. Based on a submission from Tobias Ulmer some times ago on ports@, thanks!
36 lines
927 B
Plaintext
36 lines
927 B
Plaintext
$OpenBSD: patch-config_mk,v 1.1.1.1 2009/11/08 12:17:18 landry Exp $
|
|
--- config.mk.orig Fri Oct 30 13:41:02 2009
|
|
+++ config.mk Sun Nov 8 13:00:22 2009
|
|
@@ -5,19 +5,19 @@ VERSION = 0.3
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
|
|
-GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
|
|
+GTKINC!= pkg-config --cflags gtk+-2.0 webkit-1.0
|
|
+GTKLIB!= pkg-config --libs gtk+-2.0 webkit-1.0
|
|
|
|
|
|
# includes and libs
|
|
-INCS = -I. -I/usr/include ${GTKINC}
|
|
-LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0
|
|
+INCS = ${GTKINC}
|
|
+LIBS = -pthread ${GTKLIB}
|
|
|
|
# flags
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
+CFLAGS += -std=c99 ${INCS} ${CPPFLAGS}
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
# Solaris
|
|
@@ -25,4 +25,4 @@ LDFLAGS = -s ${LIBS}
|
|
#LDFLAGS = ${LIBS}
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
+#CC = cc
|