1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/games/fxsudoku/files/patch-build__configdetect
Edwin Groothuis a78b9452d3 [new port] games/fxsudoku
fxsudoku is an implementation of the Sudoku game.

	The aim of Sudoku is to enter a numerical digit from 1
	through 9 in each cell of a 99 grid made up of 33 subgrids
	(called "regions"), starting with various digits given in
	some cells (the "givens").  Each row, column, and region
	must contain only one instance of each numeral. Completing
	the puzzle requires patience and logical ability.

	Author: Sander Jansen <sander@knology.net>
	WWW: http://www.fifthplanet.net/

PR:		ports/95245
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2006-05-03 02:58:21 +00:00

23 lines
754 B
Plaintext

--- build/configdetect.orig Mon Apr 3 08:58:08 2006
+++ build/configdetect Mon Apr 3 09:09:13 2006
@@ -18,7 +18,9 @@
else
CONFIG_FILE="build/config.linux"
fi
-elif [ $OSNAME = "CYGWIN_NT-5.0"] ; then
+elif [ $OSNAME = "FreeBSD" ] ; then
+ CONFIG_FILE="build/config.freebsd"
+elif [ $OSNAME = "CYGWIN_NT-5.0" ] ; then
CONFIG_FILE="build/config.cygwin"
elif [ $OSNAME = "HP-UX" ] && [ -f build/config.hpux ] ; then
CONFIG_FILE="build/config.hpux"
@@ -47,7 +49,7 @@
CONFIG_FILE=`echo "${arg}" | cut -d= -f2`
if [ ! -f $CONFIG_FILE ] ; then
echo " Error: ${CONFIG_FILE} doesn't exist."
- exit -1
+ exit 255
fi
;;
--enable-debug)