openbsd-ports/math/maple/patches/patch-aa
espie 2d1f4b077f Commercial mathematical package from the University of Waterloo.
Ported to show that the linux version works under OpenBSD.
One serious port for a change :)
1999-05-22 00:24:58 +00:00

18 lines
499 B
Plaintext

--- bin/maple.system.type.orig Sat May 22 01:23:16 1999
+++ bin/maple.system.type Sat May 22 01:28:24 1999
@@ -17,6 +17,14 @@
# Now, determine if we support the current OS and version.
case $SYS_TYPE in
+ "OpenBSD")
+ SYS_ARCH=`echo $UNAME_INFO | awk ' { print $5 } '`
+ if [ $SYS_ARCH = "i386" ] ; then
+ MAPLE_BIN="bin_IBM_INTEL_LINUX"
+ else
+ MAPLE_BIN="FAIL"
+ fi
+ ;;
"SunOS")
if [ $SYS_VER -ge "5" ] ; then
# Solaris 2.x or above; identify architecture.