gnuplot: fix recipe issue preventing build on x86 32 bits. (#10679)

This commit is contained in:
OscarL
2024-07-11 06:15:52 -03:00
committed by GitHub
parent 88d1a10738
commit cef3932f50

View File

@@ -6,7 +6,7 @@ as a plotting engine by third-party applications like Octave."
HOMEPAGE="http://www.gnuplot.info/"
COPYRIGHT="1986-1993, 1998, 2004 Thomas Williams, Colin Kelley"
LICENSE="Gnuplot"
REVISION="1"
REVISION="2"
SOURCE_URI="https://downloads.sourceforge.net/gnuplot/gnuplot-$portVersion.tar.gz"
CHECKSUM_SHA256="975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c"
@@ -88,9 +88,9 @@ INSTALL()
make install-strip
# Remove dirs, if empty (content varies according to "--with-" configure options).
gnuplotLibDir=$libDir/gnuplot/${portVersion%.*}
gnuplotLibDir=$libExecDir/gnuplot/${portVersion%.*}
if [ -z "$(ls -A $gnuplotLibDir)" ]; then
rmdir $gnuplotLibDir $libDir/gnuplot
rmdir $gnuplotLibDir $libExecDir/gnuplot
fi
}