[DebianGIS-dev] r2051 - packages/grass/trunk/debian

frankie at alioth.debian.org frankie at alioth.debian.org
Mon Mar 23 20:37:32 UTC 2009


Author: frankie
Date: 2009-03-23 20:37:31 +0000 (Mon, 23 Mar 2009)
New Revision: 2051

Modified:
   packages/grass/trunk/debian/rules
Log:
Fixed symlink


Modified: packages/grass/trunk/debian/rules
===================================================================
--- packages/grass/trunk/debian/rules	2009-03-23 15:41:35 UTC (rev 2050)
+++ packages/grass/trunk/debian/rules	2009-03-23 20:37:31 UTC (rev 2051)
@@ -157,7 +157,7 @@
 	# install pkg-config file
 	install -m 644 grass.pc debian/$(PKG_NAME)-dev/usr/share/pkgconfig/$(BASE_NAME).pc
 
-	ln -fs /usr/lib/$(shell echo `gdal-config --libs|cut -d' ' -f2|sed -e 's/-l/lib/'`.so) \
+	ln -fs /usr/lib/$(shell objdump -p /usr/lib/`gdal-config --libs|cut -d' ' -f2|sed -e 's/-l/lib/'`.so|grep SONAME|cut -d' ' -f18) \
 		debian/tmp/usr/lib/$(BASE_NAME)/lib/libgdal.so
 
 install-indep: build-indep




More information about the Pkg-grass-devel mailing list