diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-13 13:13:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-13 13:13:14 +0000 |
commit | 358ac80866a2f0d632f5081db8940ae1b4387069 (patch) | |
tree | 828331a5ee72671ad65e578e6b066a4f44208688 | |
parent | 95da6ee5ed1ce4bf512ebe77d0f008ae6a04b11b (diff) | |
download | alpine_aports-358ac80866a2f0d632f5081db8940ae1b4387069.tar.bz2 alpine_aports-358ac80866a2f0d632f5081db8940ae1b4387069.tar.xz alpine_aports-358ac80866a2f0d632f5081db8940ae1b4387069.zip |
extra/alsa-lib: disable useless C++ check
-rw-r--r-- | extra/alsa-lib/APKBUILD | 7 | ||||
-rw-r--r-- | extra/alsa-lib/nocxx.patch | 15 |
2 files changed, 20 insertions, 2 deletions
diff --git a/extra/alsa-lib/APKBUILD b/extra/alsa-lib/APKBUILD index bc30803adf..7bb0b7bec4 100644 --- a/extra/alsa-lib/APKBUILD +++ b/extra/alsa-lib/APKBUILD | |||
@@ -7,13 +7,16 @@ url="http://www.alsa-project.org" | |||
7 | license="GPL" | 7 | license="GPL" |
8 | depends="uclibc" | 8 | depends="uclibc" |
9 | subpackages="$pkgname-dev" | 9 | subpackages="$pkgname-dev" |
10 | source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2" | 10 | source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2 |
11 | nocxx.patch" | ||
11 | 12 | ||
12 | build () | 13 | build () |
13 | { | 14 | { |
14 | cd "$srcdir/$pkgname-$pkgver" | 15 | cd "$srcdir/$pkgname-$pkgver" |
16 | patch configure < ../nocxx.patch || return 1 | ||
15 | ./configure --prefix=/usr --disable-python | 17 | ./configure --prefix=/usr --disable-python |
16 | make || return 1 | 18 | make || return 1 |
17 | make -j1 DESTDIR="$pkgdir" install | 19 | make -j1 DESTDIR="$pkgdir" install |
18 | } | 20 | } |
19 | md5sums="73db3666c211e5fb023bb77450cf430d alsa-lib-1.0.19.tar.bz2" | 21 | md5sums="73db3666c211e5fb023bb77450cf430d alsa-lib-1.0.19.tar.bz2 |
22 | 28513788ba4d556ccd538867dc6205ab nocxx.patch" | ||
diff --git a/extra/alsa-lib/nocxx.patch b/extra/alsa-lib/nocxx.patch new file mode 100644 index 0000000000..beb1ab9006 --- /dev/null +++ b/extra/alsa-lib/nocxx.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | --- a/configure 2004-12-07 21:34:23.205172545 +0000 | ||
2 | +++ b/configure 2004-12-07 21:37:17.726654782 +0000 | ||
3 | @@ -5148,10 +5148,8 @@ | ||
4 | : | ||
5 | else | ||
6 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | ||
7 | -See \`config.log' for more details." >&5 | ||
8 | -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | ||
9 | -See \`config.log' for more details." >&2;} | ||
10 | - { (exit 1); exit 1; }; } | ||
11 | +See \`config.log' for more details." >&5;} | ||
12 | + { echo "C++ sucks, ignoring ..." >&5; }; } | ||
13 | fi | ||
14 | |||
15 | ac_ext=cc | ||