aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-21 11:15:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-21 11:15:20 +0000
commit44e57c85ddf771aaa21424bdab2a0d6041327aaa (patch)
tree3cbc7967dc39d8b2a7c9681c220061e44d9066c3
parentb4ed3545f9b732de69ab48e593c1a14872d77141 (diff)
downloadaports-44e57c85ddf771aaa21424bdab2a0d6041327aaa.tar.bz2
aports-44e57c85ddf771aaa21424bdab2a0d6041327aaa.tar.xz
main/faac: build fix
-rw-r--r--main/faac/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index 1e196aac4a..876ec52a64 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -14,9 +14,11 @@ 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
- [ "$ALPINE_LIBC" = "eglibc" ] && sed -i \
- "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
- common/mp4v2/mpeg4ip.h
+ if [ "$ALPINE_LIBC" = "eglibc" ]; then
+ sed -i \
+ "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
+ common/mp4v2/mpeg4ip.h
+ fi
}
build() {