about summary refs log tree commit diff stats
path: root/freebsd/Makefile
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-10 08:55:06 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-10 08:55:06 -0400
commit99d110cd74bbd08011a754d1c11a08e51a90debe (patch)
treeb8641edb041c2bf093d50d3ffc649168ba2f057b /freebsd/Makefile
parent1132d68aa111a6ae3eb3df093811791415f2bdcc (diff)
downloadxombrero-99d110cd74bbd08011a754d1c11a08e51a90debe.tar.gz
Enable GTK3 as default on FreeBSD and Linux, and make attempts to
improve coloring when using other invasive GTK3 themes.  The URI bar
should now be colored correctly, unless explicitly overridden in a
user theme.
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r--freebsd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index efbaf5b..4c53ec9 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -1,4 +1,10 @@
-LIBS= gtk+-2.0 webkit-1.0 libsoup-2.4 gnutls gthread-2.0
+GTK_VERSION?= gtk3
+.if ${GTK_VERSION} == "gtk2"
+LIBS= gtk+-2.0 webkit-1.0
+.else
+LIBS= gtk+-3.0 webkitgtk-3.0
+.endif
+LIBS+= libsoup-2.4 gnutls gthread-2.0
 
 LDADD= -lutil -lgcrypt
 GTK_CFLAGS!= pkg-config --cflags $(LIBS)