povray, fix build for x86_gcc2 (#3914)

This commit is contained in:
Schrijvers Luc
2019-06-09 10:30:49 +00:00
committed by miqlas
parent 8a661cc34e
commit 1449bccea1

View File

@@ -8,7 +8,7 @@ Commodore Amiga computers."
HOMEPAGE="http://www.povray.org/"
COPYRIGHT="1991-2013 Persistence of Vision Raytracer Pty. Ltd."
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/POV-Ray/povray/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4"
PATCHES="povray-$portVersion.patchset"
@@ -23,12 +23,11 @@ GLOBAL_WRITABLE_FILES="
PROVIDES="
povray$secondaryArchSuffix = $portVersion
cmd:povray = $portVersion
cmd:povray$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libboost_thread$secondaryArchSuffix
boost165$secondaryArchSuffix
lib:libHalf$secondaryArchSuffix
lib:libiex_2_2$secondaryArchSuffix
lib:libiexmath_2_2$secondaryArchSuffix
@@ -48,8 +47,7 @@ fi
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix
devel:libboost_thread$secondaryArchSuffix
boost165${secondaryArchSuffix}_devel
devel:libHalf$secondaryArchSuffix
devel:libiex_2_2$secondaryArchSuffix
devel:libiexmath_2_2$secondaryArchSuffix
@@ -97,7 +95,7 @@ BUILD()
runConfigure ./configure \
COMPILED_BY="HaikuPorts" \
--disable-optimiz \
--with-boost-libdir="$portPackageLinksDir/devel~libboost_system/$relativeLibDir/" \
--with-boost-libdir=`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir \
$KeepEXR
make $jobArgs