mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
gnuplot: fix recipe issue preventing build on x86 32 bits. (#10679)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user