summaryrefslogtreecommitdiffstats
path: root/games/nethack32-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack32-gtk')
-rw-r--r--games/nethack32-gtk/Makefile1
-rw-r--r--games/nethack32-gtk/files/src-Makefile.diff4
2 files changed, 2 insertions, 3 deletions
diff --git a/games/nethack32-gtk/Makefile b/games/nethack32-gtk/Makefile
index 89d63b1..43ff33c 100644
--- a/games/nethack32-gtk/Makefile
+++ b/games/nethack32-gtk/Makefile
@@ -4,7 +4,6 @@
#
# $FreeBSD$
#
-BROKEN= Gtk+-1.2.9 does not allow setuid program
PORTNAME= nethack
PORTVERSION= 1.1.5
diff --git a/games/nethack32-gtk/files/src-Makefile.diff b/games/nethack32-gtk/files/src-Makefile.diff
index 1d3ff89..3ce69c5 100644
--- a/games/nethack32-gtk/files/src-Makefile.diff
+++ b/games/nethack32-gtk/files/src-Makefile.diff
@@ -6,8 +6,8 @@
-CFLAGS = -O -I../include -I/usr/X11R6/include `gtk-config --cflags`
-LFLAGS = -O -L/usr/X11R6/lib `gtk-config --libs`
-+CFLAGS = -O -I../include -I/usr/X11R6/include `${GTK_CONFIG} --cflags`
-+LFLAGS = -O -L/usr/X11R6/lib `${GTK_CONFIG} --libs`
++CFLAGS += -I../include -I${X11BASE}/include `${GTK_CONFIG} --cflags`
++LFLAGS = -L${X11BASE}/lib `${GTK_CONFIG} --libs`
# Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
# combination of windowing systems. Also set windowing systems in config.h.
OpenPOWER on IntegriCloud