25 lines
675 B
Plaintext
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)
|