summaryrefslogtreecommitdiff
path: root/menuselect/Makefile
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-04-25 13:31:44 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-04-25 13:31:44 -0500
commitff858577baec46fbe14297ec6b1b3e3b5d2e23ab (patch)
treecb10a6861a0d4e665b46d6a891313431f8e8f963 /menuselect/Makefile
parent0464e773d8b0dd101f172b71ef2df854688b2cf7 (diff)
parentd54637373ab890b9e8b239290a241ca821058077 (diff)
Merge "menuselect: Add DragonFly BSD."
Diffstat (limited to 'menuselect/Makefile')
-rw-r--r--menuselect/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/menuselect/Makefile b/menuselect/Makefile
index c2c9373f4..d949efd55 100644
--- a/menuselect/Makefile
+++ b/menuselect/Makefile
@@ -24,6 +24,14 @@ endif
OBJS:=menuselect.o strcompat.o
CFLAGS+=-g -D_GNU_SOURCE -Wall
+ifneq ($(findstring dragonfly,$(OSARCH)),)
+ CFLAGS += -isystem /usr/local/include
+else ifneq ($(findstring netbsd,$(OSARCH)),)
+ CFLAGS += -isystem /usr/pkg/include
+else ifneq ($(findstring bsd,$(OSARCH)),)
+ CFLAGS += -isystem /usr/local/include
+endif
+
ifeq ($(MENUSELECT_DEBUG),yes)
CFLAGS += -DMENUSELECT_DEBUG
endif