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

Jelle van der Waa jelle at nymeria.archlinux.org
Thu Nov 7 15:00:14 UTC 2013


    Date: Thursday, November 7, 2013 @ 16:00:14
  Author: jelle
Revision: 100659

fix FS#35502

Modified:
  gen2shp/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-07 13:22:31 UTC (rev 100658)
+++ PKGBUILD	2013-11-07 15:00:14 UTC (rev 100659)
@@ -18,8 +18,10 @@
 
   # fix conflicting function names
   sed -i 's/getline/get_line/' gen2shp.c utils.c utils.h
+  sed -i 's:libshp/::' gen2shp.c
+  sed -i 's/-lshp gen2shp.c utils.o/gen2shp.c utils.o -lshp/' Makefile
+  make CFLAGS="$CFLAGS"
 
-  make
 }
 
 package() {




More information about the arch-commits mailing list