diff options
-rw-r--r-- | games/nethack-gtk/Makefile | 1 | ||||
-rw-r--r-- | games/nethack-gtk/files/src-Makefile.diff | 4 | ||||
-rw-r--r-- | games/nethack32-gtk/Makefile | 1 | ||||
-rw-r--r-- | games/nethack32-gtk/files/src-Makefile.diff | 4 |
4 files changed, 4 insertions, 6 deletions
diff --git a/games/nethack-gtk/Makefile b/games/nethack-gtk/Makefile index 89d63b1..43ff33c 100644 --- a/games/nethack-gtk/Makefile +++ b/games/nethack-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/nethack-gtk/files/src-Makefile.diff b/games/nethack-gtk/files/src-Makefile.diff index 1d3ff89..3ce69c5 100644 --- a/games/nethack-gtk/files/src-Makefile.diff +++ b/games/nethack-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. 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. |