diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-03-11 17:44:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-12 21:50:45 -0700 |
commit | 87fe20600f10fca4944d463fc2c3ef1e3e1eb040 (patch) | |
tree | 39a0188a36ef99d0fe4f68e48e0de8a5f897c124 /Makefile | |
parent | f22527fdaf0d9e5dd2ad75671106a1327f801b95 (diff) | |
download | subsurface-87fe20600f10fca4944d463fc2c3ef1e3e1eb040.tar.gz |
Fix the build under Kfreebsd & HURD.
Ensure that Kfreebsd and HURD are recognized as "like Linux"
Signed-off-by: Sylvestre Ledru <sylvestre@debian.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ STORED_VERSION_STRING = \ read ignore ignore v <$(VERSION_FILE) && echo $$v)) #" workaround editor syntax highlighting quirk -UNAME := $(shell $(CC) -dumpmachine 2>&1 | grep -E -o "linux|darwin|win") +UNAME := $(shell $(CC) -dumpmachine 2>&1 | grep -E -o "linux|darwin|win|gnu|kfreebsd") GET_VERSION = ./scripts/get-version VERSION_STRING := $(shell $(GET_VERSION) linux || echo "v$(VERSION)") # Mac Info.plist style with three numbers 1.2.3 @@ -125,7 +125,7 @@ ifneq ($(strip $(LIBSQLITE3)),) SQLITE3 = -DSQLITE3 $(shell $(PKGCONFIG) --cflags sqlite3) endif -ifeq ($(UNAME), linux) +ifneq (,$(filter $(UNAME),linux kfreebsd gnu)) LIBGCONF2 = $(shell $(PKGCONFIG) --libs gconf-2.0) GCONF2CFLAGS = $(shell $(PKGCONFIG) --cflags gconf-2.0) OSSUPPORT = linux |