diff options
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/Makefile | 8 |
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) |