freebsd-ports/science/gchemutils/files/patch-configure
2009-01-13 18:17:55 +00:00

11 lines
504 B
Text

--- configure.orig 2009-01-13 16:00:51.000000000 +0100
+++ configure 2009-01-13 16:09:07.000000000 +0100
@@ -21025,7 +21025,7 @@
GCU_MAJOR_VERSION=`echo $GCU_VERSION | awk -F . '{ print $1}'`
GCU_MINOR_VERSION=`echo $GCU_VERSION | awk -F . '{ print $2}'`
GCU_MICRO_VERSION=`echo $GCU_VERSION | awk -F . '{ print $3}'`
-let GCU_API_MINOR_VERSION=($GCU_MINOR_VERSION+1)/2*2
+let GCU_API_MINOR_VERSION=\($GCU_MINOR_VERSION+1\)/2*2 > /dev/null
GCU_API_VER="$GCU_MAJOR_VERSION.$GCU_API_MINOR_VERSION"