1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/games/nethack34/files/patch-ag
Akinori MUSHA cbc10a11c1 Update to nethack 3.4.0 after repocopying from nethack33{,-*}.
Unify the variant ports and make them slave ports of the master port,
nethack34.

Unbreak nethack34-gnome.

PR:		ports/36576, ports/36880
Submitted by:	KATO Tsuguru <tkato@prontomail.com>,
		Jan Stocker <Jan.Stocker@t-online.de> (MAINTAINER of -gnome)
2002-05-14 20:00:25 +00:00

22 lines
464 B
Plaintext

--- sys/unix/Makefile.utl.orig Mon Apr 17 22:36:44 2000
+++ sys/unix/Makefile.utl Wed Oct 10 19:48:36 2001
@@ -89,7 +89,17 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
+CFLAGS += -I../include
+ifeq ("$(GRAPHICS)","X11_GRAPHICS")
+CFLAGS += -DX11_GRAPHICS
+endif
+ifeq ("$(GRAPHICS)","QT_GRAPHICS")
+CFLAGS += -DQT_GRAPHICS
+endif
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
+CFLAGS += -DGNOME_GRAPHICS
+endif
+
LFLAGS =
LIBS =