diff options
author | sf <sf@FreeBSD.org> | 2001-06-14 22:30:05 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-14 22:30:05 +0800 |
commit | acc808691f895cfc19edbeeff87bfeddbbd8ecc0 (patch) | |
tree | 3826e09f48872a7d229c7d458810050f3bbcea2e /games/nethack32-gtk | |
parent | b018754db2c5d9a2438a4a5d05cb27cfe14ac10f (diff) | |
download | freebsd-ports-gnome-acc808691f895cfc19edbeeff87bfeddbbd8ecc0.tar.gz freebsd-ports-gnome-acc808691f895cfc19edbeeff87bfeddbbd8ecc0.tar.zst freebsd-ports-gnome-acc808691f895cfc19edbeeff87bfeddbbd8ecc0.zip |
o unbreak, setregid() before gtk_init to pass setgid check.
o respect CFLAGS.
Obtained from: debian
Diffstat (limited to 'games/nethack32-gtk')
-rw-r--r-- | games/nethack32-gtk/Makefile | 1 | ||||
-rw-r--r-- | games/nethack32-gtk/files/src-Makefile.diff | 4 |
2 files changed, 2 insertions, 3 deletions
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. |