1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/devel/kelp/files/patch-configure
Clive Lin a76b70a205 KeLP (Kernel Lattice Parallelism) is an infrastructure/interface to
FORTRAN 77 or C numeric kernels using FORTRAN array ordering. It is usually
used for structured block-irregular grid computational applications.

Submitted by: Michael Wu <keichii@iteration.net>
Reviewed by: keith@FreeBSD.org
Approved by: keith@FreeBSD.org
2000-12-06 16:39:24 +00:00

26 lines
698 B
Plaintext

--- configure.orig Sun Nov 26 18:36:01 2000
+++ configure Tue Dec 5 18:23:11 2000
@@ -21,9 +21,9 @@
if [ -d /opt/SUNWhpc ] ; then
# user has hpc environment
MACHID="${MACHID}hpc" ;
- elif [ -x `which mpirun` -a -x `which g++` ] ; then
+ elif [ -x `which %LOCALBASE%/mpich/bin/mpirun` -a -x `which g++` ] ; then
# user has g++ and mpich environment
- MACHID="${MACHID}g++mpich" ;
+ MACHID="x86-g++-linux" ;
fi
fi
@@ -33,8 +33,8 @@
ARCHITECTURE=""
if [ -n "$1" ] ; then
- if [ -f config/${1} ] ; then
- ARCHITECTURE=$1 ;
+ if [ -f config/x86-g++-linux ] ; then
+ ARCHITECTURE=x86-g++-linux ;
echo "found ${ARCHITECTURE}" ;
else
echo "ERROR. config/${1} not found" ;