From 80bdb0b5413682221efc1ca1213a209099aafeec Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Mon, 29 Nov 2004 19:07:14 +0000 Subject: [PATCH] Stefan Fiedler: nethack: minor fixes to make the config.patch apply Index: package/blindcoder/nethack/nethack.conf =================================================================== [2004112109085524773] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4885 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/blindcoder/nethack/nethack.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package/blindcoder/nethack/nethack.conf b/package/blindcoder/nethack/nethack.conf index 02091f2c9..1fa12b685 100644 --- a/package/blindcoder/nethack/nethack.conf +++ b/package/blindcoder/nethack/nethack.conf @@ -216,6 +216,7 @@ createpatch () { fi if [ "$ROCKCFG_PKG_NETHACK_NEW" != "news" ] ; then cat >>$xx<<-EEE +@@ -152,1 +152,1 @@ -#define NEWS "news" /* the file containing the latest hack news */ +#define NEWS "$ROCKCFG_PKG_NETHACK_NEW" /* the file containing the latest hack news */ EEE @@ -255,10 +256,10 @@ createpatch () { if [ "$ROCKCFG_PKG_NETHACK_HACKDIR" != "/usr/games/lib/nethackdir" ] ; then cat >>$xx<<-EEE @@ -203,3 +203,3 @@ - # else --# define HACKDIR "/usr/games/lib/nethackdir" -+# define HACKDIR "$ROCKCFG_PKG_NETHACK_HACKDIR" - # endif + # ifndef HACKDIR +-# define HACKDIR "/usr/games/lib/nethackdir" ++# define HACKDIR "$ROCKCFG_PKG_NETHACK_HACKDIR" + # endif EEE fi