summaryrefslogtreecommitdiff
path: root/games/nethack34
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-05-07 14:09:07 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-05-07 14:09:07 +0000
commit8e2ff6ca6077d44e6a25d19f753061dcb68e31e6 (patch)
treeff94e0b41dc869aa251cee8f4e1274c0954fbe76 /games/nethack34
parentUnbreak by fixing pkg-plist: (diff)
USE_GETOPT_LONG[1]
Remove a duplicate PORTREVISION PR: 51857[1] Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=80367
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 7d28785f949e..2667e7448db0 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 306b844ff437..46da57686c4d 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