main/faac: only sed when using eglibc

This commit is contained in:
Carlo Landmeter 2010-09-20 23:01:33 +00:00
parent c3dda532cb
commit 89504be2bc

View File

@ -14,7 +14,9 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
prepare() {
cd "$srcdir/$pkgname-$pkgver"
#taken from http://bugs.sourcemage.org/show_bug.cgi?id=15263
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" common/mp4v2/mpeg4ip.h
[ "$ALPINE_LIBC" = "eglibc" ] && sed -i \
"s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
common/mp4v2/mpeg4ip.h
}
build() {