Convert to use buildlink.mk files.

This commit is contained in:
jlam 2001-06-26 18:52:09 +00:00
parent 1cad5c3536
commit cb8fe8b5a5
3 changed files with 9 additions and 11 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2001/02/16 15:10:54 wiz Exp $
# $NetBSD: Makefile,v 1.25 2001/06/26 18:52:09 jlam Exp $
#
.include "../nethack-lib/Makefile.common"
@ -9,16 +9,12 @@ CATEGORIES+= x11
COMMENT= The QT-Enhanced X11 version of NetHack
DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib
DEPENDS+= qt2-libs-*:../../x11/qt2-libs
USE_X11= YES
USE_XPM= YES
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
EVAL_PREFIX+= QT2DIR=qt2-libs
PATH= ${QT2DIR}/qt2/bin:$$PATH
MAKE_ENV+= GTYPE=-qt QTDIR=${QT2DIR}/qt2
MAKE_ENV+= GTYPE=-qt
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches
@ -27,4 +23,6 @@ post-install:
@${CP} -f ${WRKSRC}/dat/x11tiles ${WRKSRC}/dat/tiles.xpm
@${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/nethackdir
.include "../../graphics/xpm/buildlink.mk"
.include "../../x11/qt2-libs/buildlink.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.2 2001/04/21 02:08:31 wiz Exp $
$NetBSD: distinfo,v 1.3 2001/06/26 18:52:09 jlam Exp $
SHA1 (nethack-331.tgz) = e3d07efc81c9aeb85fadc268d1d4976ab3a0f7e9
Size (nethack-331.tgz) = 3061094 bytes
SHA1 (patch-aa) = d8ec9c209bf28abda1f78159e9d240895e38db30
SHA1 (patch-ac) = f00726fecab10384884ad80bfb72401233c890d8
SHA1 (patch-ac) = e1398e6874365c58790a978962233886339ed82a
SHA1 (patch-ad) = 580a75c7ebc55b099a702ad21ce12d960f2805ff

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ac,v 1.6 2000/08/10 17:50:13 pooka Exp $
$NetBSD: patch-ac,v 1.7 2001/06/26 18:52:09 jlam Exp $
--- sys/unix/Makefile.src.orig Sat Aug 5 13:52:57 2000
+++ sys/unix/Makefile.src Thu Aug 10 20:03:19 2000
@ -8,8 +8,8 @@ $NetBSD: patch-ac,v 1.6 2000/08/10 17:50:13 pooka Exp $
-CFLAGS = -O -I../include
-LFLAGS =
+CFLAGS = -O -I../include -I${X11BASE}/include
+LFLAGS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
+CFLAGS += -O -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