[arch-commits] Commit in swh-plugins/trunk (PKGBUILD)

Eric Belanger eric at archlinux.org
Sat Aug 16 01:50:35 EDT 2008


    Date: Saturday, August 16, 2008 @ 01:50:35
  Author: eric
Revision: 8772

adding md5sums

Modified:
  swh-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-16 05:48:53 UTC (rev 8771)
+++ PKGBUILD	2008-08-16 05:50:35 UTC (rev 8772)
@@ -9,12 +9,20 @@
 arch=(i686 x86_64)
 url="http://plugin.org.uk/"
 depends=('fftw' 'ladspa')
+groups=('ladspa-plugins')
 source=(http://plugin.org.uk/releases/$pkgver/$pkgname-$pkgver.tar.gz)
-groups=('ladspa-plugins')
+md5sums=('2fbdccef2462ea553901acd429fa3573')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
+
+#Arch64 fix, -fPIC seems to be the only option
+if [ "$CARCH" = "x86_64" ]; then
+      export CFLAGS="$CFLAGS -fPIC"
+      export CXXFLAGS="$CFLAGS"
+fi
+
+ ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
 }




More information about the arch-commits mailing list