summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-03 15:57:46 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-03 15:57:46 +0200
commitaeb7c621efc55ae3b2761257f0fc307f097efec0 (patch)
tree822ab36ece6fa75bef4d7c154201908433b77905
parentf3a4e8da400567018b5d73b66cd67b8da0d280b8 (diff)
Build fixes.
-rw-r--r--extra/libpeas/PKGBUILD2
-rw-r--r--extra/streamripper/PKGBUILD2
-rw-r--r--extra/swh-plugins/PKGBUILD6
3 files changed, 5 insertions, 5 deletions
diff --git a/extra/libpeas/PKGBUILD b/extra/libpeas/PKGBUILD
index 233ddb363..bfac9d035 100644
--- a/extra/libpeas/PKGBUILD
+++ b/extra/libpeas/PKGBUILD
@@ -26,7 +26,7 @@ build() {
cd $pkgname-$pkgver
patch -Np1 -i ../js17.patch
./configure --prefix=/usr \
- --sysconfdir=/etc --localstatedir=/var
+ --sysconfdir=/etc --localstatedir=/var --enable-compile-warnings=no
make
}
diff --git a/extra/streamripper/PKGBUILD b/extra/streamripper/PKGBUILD
index 52144364a..53427efbf 100644
--- a/extra/streamripper/PKGBUILD
+++ b/extra/streamripper/PKGBUILD
@@ -16,7 +16,7 @@ sha1sums=('bc8a8d3ad045e0772ca691d2063c39efcc0dca45')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST
make
}
diff --git a/extra/swh-plugins/PKGBUILD b/extra/swh-plugins/PKGBUILD
index 40538e7a2..5e3314f4d 100644
--- a/extra/swh-plugins/PKGBUILD
+++ b/extra/swh-plugins/PKGBUILD
@@ -11,7 +11,7 @@ arch=('i686' 'x86_64' 'mips64el')
url="http://plugin.org.uk/"
license=('GPL')
depends=('fftw' 'ladspa')
-makedepends=('libxml2')
+makedepends=('libxml2' 'perl-xml-parser')
groups=('ladspa-plugins')
source=("http://plugin.org.uk/releases/$pkgver/$pkgname-$pkgver.tar.gz"
'mbeq_crash_fix.patch')
@@ -23,9 +23,9 @@ build() {
# Arch64 fix;
# -fPIC seems to be the only option
- if [ "$CARCH" = 'x86_64' ]; then
+ if [ "$CARCH" != 'i686' ]; then
export CFLAGS="$CFLAGS -fPIC"
- export CXXFLAGS="$CFLAGS"
+ export CXXFLAGS="$CXXFLAGS -fPIC"
fi
# fix Firefox crash on x64 when