Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 15:51:08 +0200 (CEST)
From:      Igor Pokrovsky <igor.pokrovsky@cnrm.meteo.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55694: Update port: games/linux-nwserver (some fixes) 
Message-ID:  <200308181351.h7IDp8DG040461@exmatis1.cnrm.meteo.fr>
Resent-Message-ID: <200308181400.h7IE0Do9037422@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55694
>Category:       ports
>Synopsis:       Update port: games/linux-nwserver (some fixes)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 18 07:00:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Meteo-France 
>Environment:
System: FreeBSD exmatis1.cnrm.meteo.fr 4.8-STABLE FreeBSD 4.8-STABLE #7: Fri Aug 15 00:44:29 CEST 2003 root@exmatis1.cnrm.meteo.fr:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
	After user's complain found that fixinstall script 
	required bash to execute, changed it to use sh.
	
>How-To-Repeat:
	
>Fix:

	

--- linux-nwserver.diff begins here ---
diff -ruN linux-nwserver-old/Makefile linux-nwserver/Makefile
--- linux-nwserver/Makefile~	Mon Aug 18 15:38:41 2003
+++ linux-nwserver/Makefile	Mon Aug 18 15:37:16 2003
@@ -18,6 +18,7 @@
 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 -ruN linux-nwserver-old/files/patch-fixinstall linux-nwserver/files/patch-fixinstall
--- /dev/null					Thu Jan  1 01:00:00 1970
+++ linux-nwserver/files/patch-fixinstall	Mon Aug 18 15:37:16 2003
@@ -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
--- linux-nwserver.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308181351.h7IDp8DG040461>