diff options
author | Robin Hahling <robin.hahling@gw-computing.net> | 2014-07-31 23:51:30 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2014-08-01 13:01:05 +0200 |
commit | a85bd9b930166aee3c4c78ccca3506b9303e70b4 (patch) | |
tree | 871cb2684507e61312a0f52f75b25cd8fd771ba9 | |
parent | e4b854543a2f0ff960e8b41ed62c1b8db7f5903b (diff) |
Fix CFLAGS and LDFLAGS for DragonFly and FreeBSD
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -34,12 +34,18 @@ ifeq ($(OS),GNU/kFreeBSD) LIBS+=-lbsd endif -ifeq ($(OS),OpenBSD) +ifneq (, $(filter $(OS), DragonFly FreeBSD OpenBSD)) CFLAGS+=-I/usr/local/include/ LDFLAGS+=-L/usr/local/lib/ +endif + +ifeq ($(OS),OpenBSD) LIBS+=-lossaudio endif +ifeq ($(OS), NetBSD) +LIBS+= -lprop +endif # This probably applies for any pkgsrc based system ifneq (, $(filter $(OS), NetBSD DragonFly)) @@ -47,11 +53,6 @@ CFLAGS+=-I/usr/pkg/include/ LDFLAGS+=-L/usr/pkg/lib/ endif -ifeq ($(OS), NetBSD) -LIBS+= -lprop -endif - - V ?= 0 ifeq ($(V),0) # Don’t print command lines which are run |