freebsd-ports/games/nlarn/files/patch-Makefile
Pawel Pekala 6c6cdf95b4 Update to version 0.7.2
PR:		ports/176785
Submitted by:	Vitaly Magerya <vmagerya@gmail.com>
Approved by:	maintainer timeout
2013-03-28 15:40:51 +00:00

27 lines
933 B
Text

--- Makefile.orig 2012-07-06 20:29:35.000000000 +0300
+++ Makefile 2013-03-09 11:15:05.000000000 +0200
@@ -102,13 +102,13 @@
LDFLAGS += $(shell pkg-config --libs glib-2.0)
# Configuration for ncurses
- ifeq ($(filter Darwin DragonFly OpenBSD,$(OS)),)
+ ifeq ($(filter Darwin DragonFly FreeBSD OpenBSD,$(OS)),)
CFLAGS += $(shell ncurses5-config --cflags)
LDFLAGS += $(shell ncurses5-config --libs) -lpanel
else
# OS X is handled separately
ifneq ($(OS), Darwin)
- # DragonFly and OpenBSD have ncurses in base (and no config tool)
+ # DragonFly, FreeBSD and OpenBSD have ncurses in base (and no config tool)
LDFLAGS += -lncurses -lpanel
endif
endif
@@ -117,6 +117,8 @@
# Debian and derivates use lua5.1, the rest of the world lua
ifneq ($(wildcard /etc/debian_version),)
lua = lua5.1
+ else ifeq ($(OS), FreeBSD)
+ lua = lua-5.1
else
lua = lua
endif