Line 0
Link Here
|
|
|
1 |
--- Makefile.orig 2012-07-06 20:29:35.000000000 +0300 |
2 |
+++ Makefile 2013-03-09 11:15:05.000000000 +0200 |
3 |
@@ -102,13 +102,13 @@ |
4 |
LDFLAGS += $(shell pkg-config --libs glib-2.0) |
5 |
|
6 |
# Configuration for ncurses |
7 |
- ifeq ($(filter Darwin DragonFly OpenBSD,$(OS)),) |
8 |
+ ifeq ($(filter Darwin DragonFly FreeBSD OpenBSD,$(OS)),) |
9 |
CFLAGS += $(shell ncurses5-config --cflags) |
10 |
LDFLAGS += $(shell ncurses5-config --libs) -lpanel |
11 |
else |
12 |
# OS X is handled separately |
13 |
ifneq ($(OS), Darwin) |
14 |
- # DragonFly and OpenBSD have ncurses in base (and no config tool) |
15 |
+ # DragonFly, FreeBSD and OpenBSD have ncurses in base (and no config tool) |
16 |
LDFLAGS += -lncurses -lpanel |
17 |
endif |
18 |
endif |
19 |
@@ -117,6 +117,8 @@ |
20 |
# Debian and derivates use lua5.1, the rest of the world lua |
21 |
ifneq ($(wildcard /etc/debian_version),) |
22 |
lua = lua5.1 |
23 |
+ else ifeq ($(OS), FreeBSD) |
24 |
+ lua = lua-5.1 |
25 |
else |
26 |
lua = lua |
27 |
endif |