mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
libdv, disable static library, fix build (#8354)
This commit is contained in:
@@ -8,7 +8,7 @@ HOMEPAGE="http://libdv.sourceforge.net"
|
||||
COPYRIGHT="1999 Erik Walthinsen
|
||||
1999 Charles 'Buck' Krasic"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="http://sourceforge.net/projects/libdv/files/libdv/$portVersion/libdv-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba"
|
||||
PATCHES="libdv-$portVersion.patchset"
|
||||
@@ -16,11 +16,14 @@ PATCHES="libdv-$portVersion.patchset"
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="4.0.3"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libdv$secondaryArchSuffix = $portVersion compat >= 1.0
|
||||
cmd:dubdv$secondaryArchSuffix
|
||||
cmd:encodedv$secondaryArchSuffix
|
||||
lib:libdv$secondaryArchSuffix = 4.0.3 compat >= 4
|
||||
lib:libdv$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -30,7 +33,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libdv${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
|
||||
devel:libdv$secondaryArchSuffix = 4.0.3 compat >= 4
|
||||
devel:libdv$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdv$secondaryArchSuffix == $portVersion base
|
||||
@@ -42,9 +45,9 @@ BUILD_REQUIRES="
|
||||
devel:libsdl_1.2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal_1.13
|
||||
cmd:autoconf
|
||||
cmd:automake_1.13
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
@@ -53,11 +56,9 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal-1.13
|
||||
autoconf
|
||||
automake-1.13
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure --disable-gtk \
|
||||
--disable-static \
|
||||
--without-debug
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user