From acc808691f895cfc19edbeeff87bfeddbbd8ecc0 Mon Sep 17 00:00:00 2001 From: sf Date: Thu, 14 Jun 2001 14:30:05 +0000 Subject: o unbreak, setregid() before gtk_init to pass setgid check. o respect CFLAGS. Obtained from: debian --- games/nethack32-gtk/Makefile | 1 - games/nethack32-gtk/files/src-Makefile.diff | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'games/nethack32-gtk') diff --git a/games/nethack32-gtk/Makefile b/games/nethack32-gtk/Makefile index 89d63b1418cf..43ff33c9dd4d 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 1d3ff896188d..3ce69c568c15 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. -- cgit