summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2007-07-03 20:12:55 +0000
committerSteve Arnold <nerdboy@gentoo.org>2007-07-03 20:12:55 +0000
commit9976b7575c92f35d2af0e4411ab34f9a23aa82be (patch)
treed3cacbd087ee4b31c0bf4fb3bc787b428c11675b /sci-libs/gdal/files
parentstable on ppc64 (diff)
downloadgentoo-2-9976b7575c92f35d2af0e4411ab34f9a23aa82be.tar.gz
gentoo-2-9976b7575c92f35d2af0e4411ab34f9a23aa82be.tar.bz2
gentoo-2-9976b7575c92f35d2af0e4411ab34f9a23aa82be.zip
update to latest release (fixes bug 182306)
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sci-libs/gdal/files')
-rw-r--r--sci-libs/gdal/files/digest-gdal-1.4.23
-rw-r--r--sci-libs/gdal/files/gdal-1.4.2-datadir.patch11
-rw-r--r--sci-libs/gdal/files/gdal-1.4.2-ruby-install.patch24
3 files changed, 38 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/digest-gdal-1.4.2 b/sci-libs/gdal/files/digest-gdal-1.4.2
new file mode 100644
index 000000000000..ed44e919cd42
--- /dev/null
+++ b/sci-libs/gdal/files/digest-gdal-1.4.2
@@ -0,0 +1,3 @@
+MD5 dedf5ff6a766e85b9a2b5c54c1c59221 gdal-1.4.2.tar.gz 7457778
+RMD160 d4e2c09b4ec4ef3eb6a4da0e832168ef89878860 gdal-1.4.2.tar.gz 7457778
+SHA256 ee6e74cb80f47929fcfe8426fb024c2b195d237612be4d9a0795e9e353f588ee gdal-1.4.2.tar.gz 7457778
diff --git a/sci-libs/gdal/files/gdal-1.4.2-datadir.patch b/sci-libs/gdal/files/gdal-1.4.2-datadir.patch
new file mode 100644
index 000000000000..95cd058256a1
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-1.4.2-datadir.patch
@@ -0,0 +1,11 @@
+--- GDALmake.opt.in.orig 2006-05-21 14:59:21.000000000 -0700
++++ GDALmake.opt.in 2006-05-21 15:13:22.000000000 -0700
+@@ -54,7 +54,7 @@
+ exec_prefix = @exec_prefix@
+ INST_PREFIX = @exec_prefix@
+ INST_INCLUDE = @includedir@
+-INST_DATA = @datadir@
++INST_DATA = @datadir@/gdal
+ INST_LIB = @libdir@
+ INST_BIN = @bindir@
+ INST_PYMOD = @pymoddir@
diff --git a/sci-libs/gdal/files/gdal-1.4.2-ruby-install.patch b/sci-libs/gdal/files/gdal-1.4.2-ruby-install.patch
new file mode 100644
index 000000000000..3aea3e26ea48
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-1.4.2-ruby-install.patch
@@ -0,0 +1,24 @@
+--- swig/ruby/RubyMakefile.mk.orig 2007-07-01 18:15:18.000000000 -0700
++++ swig/ruby/RubyMakefile.mk 2007-07-01 18:18:47.000000000 -0700
+@@ -22,7 +22,7 @@
+ RUBY_LIB_DIR := $(shell ruby -rrbconfig -e "puts Config::CONFIG['libdir']")
+ RUBY_SO_NAME := $(shell ruby -rrbconfig -e "puts Config::CONFIG['RUBY_SO_NAME']")
+ RUBY_EXTENSIONS_DIR := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
+-INSTALL_DIR := $(RUBY_EXTENSIONS_DIR)/gdal
++INSTALL_DIR := $(DESTDIR)$(RUBY_EXTENSIONS_DIR)/gdal
+
+ RUBY_INCLUDE = -I$(RUBY_INCLUDE_DIR)
+ LDFLAGS += -shared -L$(RUBY_LIB_DIR)
+@@ -39,10 +39,10 @@
+ rm -frd $(INSTALL_DIR)
+
+ $(INSTALL_DIR):
+- mkdir -p $(DESTDIR)$(INSTALL_DIR)
++ mkdir -p $(INSTALL_DIR)
+
+ install: $(INSTALL_DIR)
+- $(INSTALL) $(RUBY_MODULES) $(DESTDIR)$(INSTALL_DIR)
++ $(INSTALL) $(RUBY_MODULES) $(INSTALL_DIR)
+
+ $(RUBY_MODULES): %.so: %_wrap.o
+ $(LD) $(LDFLAGS) $(LIBS) $(GDAL_SLIB_LINK) $(RUBY_LIB) $< -o $@