diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/linux-nwserver/Makefile | 1 | ||||
-rw-r--r-- | games/linux-nwserver/files/patch-fixinstall | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/games/linux-nwserver/Makefile b/games/linux-nwserver/Makefile index d0150eaa9545..c50fb0c41cc6 100644 --- a/games/linux-nwserver/Makefile +++ b/games/linux-nwserver/Makefile @@ -18,6 +18,7 @@ COMMENT= Neverwinter Nights Linux (x86) Dedicated Server USE_LINUX= yes NO_BUILD= yes ONLY_FOR_ARCHS= i386 +WRKSRC= ${WRKDIR} # Linux binary should not be stripped by INSTALL_PROGRAM # because as a side effect it brands the binary as FreeBSD. diff --git a/games/linux-nwserver/files/patch-fixinstall b/games/linux-nwserver/files/patch-fixinstall new file mode 100644 index 000000000000..8147e6d4cc1d --- /dev/null +++ b/games/linux-nwserver/files/patch-fixinstall @@ -0,0 +1,49 @@ +--- fixinstall-old Mon Jun 23 18:34:30 2003 ++++ fixinstall Mon Aug 18 15:10:14 2003 +@@ -1,13 +1,13 @@ +-#!/bin/bash ++#!/bin/sh + +-aRequiredDirs=(data override) +-aRequiredFiles=(chitin.key patch.key dialog.tlk nwserver) +-aLCDirs=(ambient data dmvault hak localvault music override portraits) +-aProblemFiles=() ++aRequiredDirs="data override" ++aRequiredFiles="chitin.key patch.key dialog.tlk nwserver" ++aLCDirs="ambient data dmvault hak localvault music override portraits" ++aProblemFiles="" + + printf "Checking for required files\n\n" + +-for d in ${aRequiredDirs[@]} ++for d in ${aRequiredDirs} + do + if [ -d $d ] + then +@@ -18,7 +18,7 @@ + fi + done + +-for f in ${aRequiredFiles[@]} ++for f in ${aRequiredFiles} + do + if [ -f $f ] + then +@@ -41,7 +41,7 @@ + mv dialogF.TLK dialogf.tlk + fi + +-for d in ${aLCDirs[@]} ++for d in ${aLCDirs} + do + if [ -d $d ] + then +@@ -70,7 +70,7 @@ + + printf "\nChecking for problem files\n\n" + +-for f in ${aProblemFiles[@]} ++for f in ${aProblemFiles} + do + if [ -f $f ] + then |