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

Andrea Scarpino andrea at archlinux.org
Sat Jun 26 13:06:16 UTC 2010


    Date: Saturday, June 26, 2010 @ 09:06:16
  Author: andrea
Revision: 84088

upgpkg: libiodbc 3.52.7-4
fix RPATH (FS#19979)

Modified:
  libiodbc/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-26 11:27:27 UTC (rev 84087)
+++ PKGBUILD	2010-06-26 13:06:16 UTC (rev 84088)
@@ -5,12 +5,13 @@
 
 pkgname=libiodbc
 pkgver=3.52.7
-pkgrel=3
+pkgrel=4
 pkgdesc='Independent Open DataBase Connectivity for Linux'
 arch=('i686' 'x86_64')
 url="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
 license=('LGPL')
-depends=('glibc')
+depends=('glibc' 'sh')
+makedepends=('chrpath')
 replaces=('iodbc')
 conflicts=('iodbc')
 options=('!libtool')
@@ -23,12 +24,13 @@
 		--disable-static \
 		--includedir=/usr/include/libiodbc \
 		--disable-gui \
-		--disable-libodbc || return 1
-	make || return 1
+		--disable-libodbc
+	make
 }
 
 package() {
 	cd ${srcdir}/${pkgname}-${pkgver}
-	make DESTDIR=${pkgdir} install || return 1
+	make DESTDIR=${pkgdir} install
+	chrpath -d ${pkgdir}/usr/bin/iodbctest{,w}
 	rm -rf ${pkgdir}/usr/share/libiodbc/
 }




More information about the arch-commits mailing list