summaryrefslogtreecommitdiff
path: root/www/surf/files
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2010-01-04 17:32:01 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2010-01-04 17:32:01 +0000
commit0e36b8d885027b47ea8c503f3d8e2c394bb9c5dc (patch)
treee5a38ca99ccdbb367ab9df7b21e9168f301208a4 /www/surf/files
parent- Added missing distinfo entry for i386 build on 8.0. (diff)
surf is a simple web browser based on WebKit/GTK+. It is able to display
websites and follow links. It supports the XEmbed protocol which makes it possible to embed it in another application. Furthermore, one can point surf to another URI by setting its XProperties. WWW: http://surf.suckless.org PR: ports/141854 Submitted by: Christopher Knaust <jigboe at gmx.de>
Notes
Notes: svn path=/head/; revision=247144
Diffstat (limited to 'www/surf/files')
-rw-r--r--www/surf/files/patch-config.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/www/surf/files/patch-config.mk b/www/surf/files/patch-config.mk
new file mode 100644
index 000000000000..d19ad65c9123
--- /dev/null
+++ b/www/surf/files/patch-config.mk
@@ -0,0 +1,38 @@
+--- config.mk 2009-10-30 13:41:02.000000000 +0100
++++ config.mk 2009-12-21 19:25:11.000000000 +0100
+@@ -4,25 +4,25 @@ VERSION = 0.3
+ # Customize below to fit your system
+
+ # paths
+-PREFIX = /usr/local
+-MANPREFIX = ${PREFIX}/share/man
++PREFIX?= /usr/local
++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_LIBS} ${GTKLIB}
+
+ # flags
+-CPPFLAGS = -DVERSION=\"${VERSION}\"
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -s ${LIBS}
++CPPFLAGS+= -DVERSION=\"${VERSION}\"
++CFLAGS+= -std=c99 ${INCS} ${CPPFLAGS}
++LDFLAGS+= ${LIBS}
+
+ # Solaris
+ #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+ #LDFLAGS = ${LIBS}
+
+ # compiler and linker
+-CC = cc
++CC?= cc