Fixed policy issues with tiff.

This commit is contained in:
Scott McCreary
2013-10-16 02:09:16 -07:00
parent cf618c7adc
commit 6870578d43

View File

@@ -15,6 +15,7 @@ SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
tiff$secondaryArchSuffix = $portVersion compat >= 3
lib:libtiff$secondaryArchSuffix = $portVersion compat >= 3
lib:libtiffxx$secondaryArchSuffix = $portVersion compat >= 3
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
@@ -23,6 +24,9 @@ REQUIRES="
lib:libz
"
BUILD_REQUIRES="
# devel:libGL
devel:libjpeg
devel:libz
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
@@ -42,7 +46,7 @@ BUILD()
automake --add-missing
autoconf
autoheader
runConfigure ./configure
runConfigure ./configure --with-docdir=$documentationDir
make $jobArgs
}
@@ -50,7 +54,7 @@ INSTALL()
{
make install
prepareInstalledDevelLibs libtiff
prepareInstalledDevelLibs libtiff libtiffxx
# devel package
packageEntries devel \
@@ -75,6 +79,7 @@ INSTALL()
PROVIDES_devel="
tiff${secondaryArchSuffix}_devel = $portVersion compat >= 3
devel:libtiff$secondaryArchSuffix = $portVersion compat >= 3
devel:libtiffxx$secondaryArchSuffix = $portVersion compat >= 3
"
REQUIRES_devel="
tiff$secondaryArchSuffix == $portVersion base
@@ -112,6 +117,9 @@ if [ -z "$secondaryArchSuffix" ]; then
"
REQUIRES_tools="
haiku >= $haikuVersion
lib:libGL
lib:libjpeg
lib:libz
tiff == $portVersion base
"
fi