pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/nethack-lib Fix build on i386 Mac OS X 10.4.7.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b7df7504f45
branches: trunk
changeset: 518013:3b7df7504f45
user: ben <ben%pkgsrc.org@localhost>
date: Mon Aug 28 23:03:14 2006 +0000
description:
Fix build on i386 Mac OS X 10.4.7.
Use ncurses since OS X lacks termlib.
Create group games since OS X lacks it.
diffstat:
games/nethack-lib/Makefile | 10 +++++-----
games/nethack-lib/Makefile.common | 13 ++++++++++++-
2 files changed, 17 insertions(+), 6 deletions(-)
diffs (55 lines):
diff -r e38d3c5b0355 -r 3b7df7504f45 games/nethack-lib/Makefile
--- a/games/nethack-lib/Makefile Mon Aug 28 22:02:51 2006 +0000
+++ b/games/nethack-lib/Makefile Mon Aug 28 23:03:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/04/10 12:56:04 pooka Exp $
+# $NetBSD: Makefile,v 1.24 2006/08/28 23:03:14 ben Exp $
#
.include "../../games/nethack-lib/Makefile.common"
@@ -20,14 +20,14 @@
# here for now until we lose backward compatibility because of changes
# to the fileformat.
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \
- ${ROOT_USER} games 664
+ ${ROOT_USER} ${NETHACK_GROUP} 664
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \
- ${ROOT_USER} games 664
+ ${ROOT_USER} ${NETHACK_GROUP} 664
REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
- ${ROOT_USER} games 775
+ ${ROOT_USER} ${NETHACK_GROUP} 775
REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
- ${ROOT_USER} games 770
+ ${ROOT_USER} ${NETHACK_GROUP} 770
CHECK_FILES_SKIP+= ${PREFIX}/share/${NETHACK_DIR}/logfile \
${PREFIX}/share/${NETHACK_DIR}/record
diff -r e38d3c5b0355 -r 3b7df7504f45 games/nethack-lib/Makefile.common
--- a/games/nethack-lib/Makefile.common Mon Aug 28 22:02:51 2006 +0000
+++ b/games/nethack-lib/Makefile.common Mon Aug 28 23:03:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2005/05/15 22:02:27 jlam Exp $
+# $NetBSD: Makefile.common,v 1.19 2006/08/28 23:03:14 ben Exp $
#
NETHACK_BASEVER= 3.4.3
@@ -21,6 +21,17 @@
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+SUBST_CLASSES+= ttylib
+SUBST_MESSAGE.ttylib= Configuring to use ncurses
+SUBST_STAGE.ttylib= post-patch
+SUBST_FILES.ttylib= sys/unix/Makefile.src
+SUBST_SED.ttylib= -e 's,^WINTTYLIB = -ltermlib,WINTTYLIB = -lncurses,'
+.endif
+
+NETHACK_GROUP= games
+PKG_GROUPS= ${NETHACK_GROUP}
+
.if !defined(NO_CONFIGURE)
pre-configure:
@${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh
Home |
Main Index |
Thread Index |
Old Index