From abec4c22eae603c70670e015111c854000beb638 Mon Sep 17 00:00:00 2001 From: Abel `00z' Camarillo <00z@the00z.org> Date: Sun, 24 May 2009 21:03:17 -0500 Subject: uzbl now builds on OpenBSD --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d158a9b..acb7ad7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" -LDFLAGS=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) +CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" +LDFLAGS=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4) -pthread all: uzbl uzblctrl test: uzbl -- cgit v1.2.3 From 579dbd0425b8ef71672379835997c519ee703fcb Mon Sep 17 00:00:00 2001 From: Maximilian Gaß Date: Sat, 6 Jun 2009 20:34:42 +0200 Subject: Makefile: Renamed CPPFLAGS -> CFLAGS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fa20b6c..e650c29 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CPPFLAGS:=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) +CFLAGS:=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) $(LDFLAGS) all: uzbl uzblctrl -- cgit v1.2.3 From 2e1033c24873586d8cc0ace2d76de30a6408d06d Mon Sep 17 00:00:00 2001 From: Maximilian Gaß Date: Sat, 6 Jun 2009 20:35:09 +0200 Subject: Build in C99 mode --- Makefile | 2 +- uzbl.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e650c29..4c3a483 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS:=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) +CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) $(LDFLAGS) all: uzbl uzblctrl diff --git a/uzbl.c b/uzbl.c index bd54c7d..ddaadf7 100644 --- a/uzbl.c +++ b/uzbl.c @@ -32,6 +32,7 @@ #define LENGTH(x) (sizeof x / sizeof x[0]) #define MAX_BINDINGS 256 +#define _POSIX_SOURCE #include #include -- cgit v1.2.3