$OpenBSD$ --- Makefile.orig Sat Apr 28 20:27:17 2012 +++ Makefile Wed Nov 21 18:30:42 2012 @@ -1,13 +1,13 @@ -# packagers, set DESTDIR to your "package directory" and PREFIX to the prefix you want to have on the end-user system -# end-users who build from source: don't care about DESTDIR, update PREFIX if you want to +# packagers, set PKGDIR to your "package directory" and PREFIX to the prefix you want to have on the end-user system +# end-users who build from source: don't care about PKGDIR, update PREFIX if you want to # RUN_PREFIX : what the prefix is when the software is run. usually the same as PREFIX PREFIX?=/usr/local -INSTALLDIR?=$(DESTDIR)$(PREFIX) +INSTALLDIR?=$(PKGDIR)$(PREFIX) DOCDIR?=$(INSTALLDIR)/share/uzbl/docs RUN_PREFIX?=$(PREFIX) # use GTK3-based webkit when it is available -USE_GTK3 = $(shell pkg-config --exists gtk+-3.0 webkitgtk-3.0 && echo 1) +USE_GTK3?= $(shell pkg-config --exists gtk+-3.0 webkitgtk-3.0 && echo 1) ifeq ($(USE_GTK3),1) REQ_PKGS += gtk+-3.0 webkitgtk-3.0 javascriptcoregtk-3.0