summaryrefslogtreecommitdiffstats
path: root/games/nethack34
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-05-07 14:09:07 +0000
committerarved <arved@FreeBSD.org>2003-05-07 14:09:07 +0000
commitb9528687a6a4584346df3839c8d2bedb06d3beb8 (patch)
tree21246f5506994b3d88ff0cc0c1aa47f439581b3a /games/nethack34
parenta08dae8c6d07be7bd1819715105c73dbf7682937 (diff)
downloadFreeBSD-ports-b9528687a6a4584346df3839c8d2bedb06d3beb8.zip
FreeBSD-ports-b9528687a6a4584346df3839c8d2bedb06d3beb8.tar.gz
USE_GETOPT_LONG[1]
Remove a duplicate PORTREVISION PR: 51857[1] Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games/nethack34')
-rw-r--r--games/nethack34/Makefile6
-rw-r--r--games/nethack34/files/patch-ad4
2 files changed, 5 insertions, 5 deletions
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 7d28785..2667e74 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -36,11 +36,11 @@ HACKDOCSDIR?= share/doc/${HACKNAME}
.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
PKGNAMESUFFIX= -qt
USE_QT_VER= 3
MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
diff --git a/games/nethack34/files/patch-ad b/games/nethack34/files/patch-ad
index 306b844..46da576 100644
--- a/games/nethack34/files/patch-ad
+++ b/games/nethack34/files/patch-ad
@@ -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
OpenPOWER on IntegriCloud