openbsd-ports/games/neverball/patches/patch-Makefile
benoit e9fa0ddcfc - update neverball to 1.5.4
- regen PLIST
- change maintainer
- use SUBST_CMD
- update patches and HOMEPAGE

with some tweaks by and ok landry@
2009-12-23 22:41:28 +00:00

31 lines
761 B
Plaintext

$OpenBSD: patch-Makefile,v 1.3 2009/12/23 22:41:36 benoit Exp $
--- Makefile.orig Sun Sep 20 12:06:00 2009
+++ Makefile Mon Dec 21 14:06:11 2009
@@ -27,8 +27,8 @@
# Paths (packagers might want to set DATADIR and LOCALEDIR)
USERDIR := .neverball
-DATADIR := ./data
-LOCALEDIR := ./locale
+DATADIR := ${PREFIX}/share/neverball/data
+LOCALEDIR := ${PREFIX}/share/locale
ifdef MINGW
USERDIR := Neverball
@@ -42,11 +42,11 @@
# Optional flags (CFLAGS, CPPFLAGS, ...)
ifeq ($(DEBUG),1)
- CFLAGS := -g
- CPPFLAGS :=
+ CFLAGS += -g
+ CPPFLAGS +=
else
- CFLAGS := -O2
- CPPFLAGS := -DNDEBUG
+ CFLAGS +=
+ CPPFLAGS += -DNDEBUG
endif
#------------------------------------------------------------------------------