aboutsummaryrefslogtreecommitdiffstats
path: root/main/faac/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-20 23:01:33 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-20 23:01:33 +0000
commit89504be2bc540bfbce3d1d7c69ced34ad56ccf88 (patch)
tree29ade4f7e783250122b383b27d48cb75a0c47c01 /main/faac/APKBUILD
parentc3dda532cb2cb7f6ab62e564a79d089bf8bcc659 (diff)
downloadaports-89504be2bc540bfbce3d1d7c69ced34ad56ccf88.tar.bz2
aports-89504be2bc540bfbce3d1d7c69ced34ad56ccf88.tar.xz
main/faac: only sed when using eglibc
Diffstat (limited to 'main/faac/APKBUILD')
-rw-r--r--main/faac/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index 2de4bd953b..1e196aac4a 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -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() {