openbsd-ports/graphics/fxtv/patches/patch-videolib_Makefile
naddy 87674e8f6a Complete overhaul of this port.
Submitted by Wilbern Cobb <vedge@csoft.org>.
2002-02-02 00:52:18 +00:00

25 lines
675 B
Plaintext

$OpenBSD: patch-videolib_Makefile,v 1.1 2002/02/02 00:52:18 naddy Exp $
--- videolib/Makefile.orig Mon Feb 12 15:04:45 2001
+++ videolib/Makefile Wed Aug 15 13:46:30 2001
@@ -3,7 +3,7 @@
#
HAVE_XFREE86 = YES
-X11BASE = /usr/X11R6
+X11BASE ?= /usr/X11R6
DEBUG = NO
override SHELL = /bin/sh
@@ -13,9 +13,9 @@ override INC =
# CFLAGS
#
ifneq ($(DEBUG),NO)
- override CFLAGS = -DDEBUG -g
+ override CFLAGS += -DDEBUG -g
else
- override CFLAGS = -DNDEBUG -O2
+ override CFLAGS += -DNDEBUG
endif
C_WARN_FLAG = -Wall
override CFLAGS += $(C_WARN_FLAG) $(INC)