ports/51857: Update port: games/nethack34
KATO Tsuguru
tkato at prontomail.com
Tue May 6 14:40:38 UTC 2003
>Number: 51857
>Category: ports
>Synopsis: Update port: games/nethack34
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 06 07:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_GETOPT_LONG
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/nethack34/Makefile games/nethack34/Makefile
--- /usr/ports/games/nethack34/Makefile Sat Apr 12 22:47:09 2003
+++ games/nethack34/Makefile Sat May 3 21:42:46 2003
@@ -36,8 +36,9 @@
.if defined(WITH_GNOME_GRAPHICS)
CATEGORIES= games gnome
PKGNAMESUFFIX= -gnome
-LIB_DEPENDS+= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-USE_GNOME= yes
+USE_GETOPT_LONG= yes
+USE_GNOME= gnomelibs
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
GRAPHICS= GNOME_GRAPHICS
.elif defined(WITH_QT_GRAPHICS)
PORTREVISION= 1
diff -urN /usr/ports/games/nethack34/files/patch-ad games/nethack34/files/patch-ad
--- /usr/ports/games/nethack34/files/patch-ad Tue Sep 10 20:11:12 2002
+++ games/nethack34/files/patch-ad Sat May 3 21:43:59 2003
@@ -17,7 +17,7 @@
+CFLAGS += -DQT_GRAPHICS
+endif
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
-+CFLAGS += -DGNOME_GRAPHICS
++CFLAGS += -DGNOME_GRAPHICS ${CPPFLAGS}
+endif
-CFLAGS = -O -I../include
@@ -79,7 +79,7 @@
#
# libraries for Gnome
-WINGNOMELIB = -lgnomeui -lgnome -lart_lgpl -lgtk -lgdk -lpopt
-+WINGNOMELIB = $(shell ${GNOME_CONFIG} --libs gnomeui) -lgnugetopt
++WINGNOMELIB = $(shell ${GNOME_CONFIG} --libs gnomeui) ${LDFLAGS}
#
# libraries for Gem port
WINGEMLIB = -le_gem -lgem
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list