1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

o unbreak, setregid() before gtk_init to pass setgid check.

o respect CFLAGS.

Obtained from:	debian
This commit is contained in:
FUJISHIMA Satsuki 2001-06-14 14:30:05 +00:00
parent b6aae24996
commit 396c1149db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43988
4 changed files with 4 additions and 6 deletions

View File

@ -4,7 +4,6 @@
#
# $FreeBSD$
#
BROKEN= Gtk+-1.2.9 does not allow setuid program
PORTNAME= nethack
PORTVERSION= 1.1.5

View File

@ -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.

View File

@ -4,7 +4,6 @@
#
# $FreeBSD$
#
BROKEN= Gtk+-1.2.9 does not allow setuid program
PORTNAME= nethack
PORTVERSION= 1.1.5

View File

@ -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.