summaryrefslogtreecommitdiff
path: root/games/nethack-x11
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-26 19:11:04 +0000
committerjlam <jlam>2001-06-26 19:11:04 +0000
commiteba5643dac1930397d1e4d5441dea066b558f699 (patch)
tree42767ecd1ea44e548cea9a72a86ccb96be2bd397 /games/nethack-x11
parentaf2214d590da8a71a8353f279f01da04e1bd8554 (diff)
downloadpkgsrc-eba5643dac1930397d1e4d5441dea066b558f699.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'games/nethack-x11')
-rw-r--r--games/nethack-x11/Makefile6
-rw-r--r--games/nethack-x11/distinfo4
-rw-r--r--games/nethack-x11/patches/patch-ab6
3 files changed, 9 insertions, 7 deletions
diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile
index 98eb3b45916..8f660affe47 100644
--- a/games/nethack-x11/Makefile
+++ b/games/nethack-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/02/16 15:10:55 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2001/06/26 19:11:04 jlam Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -12,7 +12,8 @@ CATEGORIES+= x11
DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib
USE_X11= YES
-USE_XPM= YES
+USE_BUILDLINK_ONLY= YES
+
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-x11
@@ -23,4 +24,5 @@ ALLFILES= ${DISTFILES} # don't checksum shared patches
post-install:
@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/nethackdir
+.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/nethack-x11/distinfo b/games/nethack-x11/distinfo
index 62c87af6507..b77efdc2e19 100644
--- a/games/nethack-x11/distinfo
+++ b/games/nethack-x11/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 02:08:32 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/06/26 19:11:04 jlam Exp $
SHA1 (nethack-331.tgz) = e3d07efc81c9aeb85fadc268d1d4976ab3a0f7e9
Size (nethack-331.tgz) = 3061094 bytes
SHA1 (patch-aa) = 27b14831057da6ca2863f75d0910e0479c9c6b99
-SHA1 (patch-ab) = 82ee3309fed90a95d6481c672af9342cf01e2138
+SHA1 (patch-ab) = 9cb29ef166fefa5672cad337e00fc960b46140eb
diff --git a/games/nethack-x11/patches/patch-ab b/games/nethack-x11/patches/patch-ab
index bbd9ccb8a87..8f915a05c82 100644
--- a/games/nethack-x11/patches/patch-ab
+++ b/games/nethack-x11/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2000/08/10 17:50:09 pooka Exp $
+$NetBSD: patch-ab,v 1.5 2001/06/26 19:11:04 jlam Exp $
--- sys/unix/Makefile.src.orig Sat Aug 5 13:52:57 2000
+++ sys/unix/Makefile.src Thu Aug 10 19:28:31 2000
@@ -8,8 +8,8 @@ $NetBSD: patch-ab,v 1.4 2000/08/10 17:50:09 pooka Exp $
-CFLAGS = -O -I../include
-LFLAGS =
-+CFLAGS = -O -I../include -I${X11BASE}/include
-+LFLAGS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib
++CFLAGS += -I../include -I${X11BASE}/include
++LFLAGS = ${LDFLAGS}
# The Qt and Be window systems are written in C++, while the rest of
# NetHack is standard C. If using Qt, uncomment the LD line here to get