diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2008-01-04 04:08:16 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2008-01-04 04:08:16 +0000 |
commit | b1ee2d090caa4c1ef7b01f1361fb336a4b31ad5b (patch) | |
tree | e8682d92cbf82ae38ef8a799533f5d80c137d963 /sci-libs | |
parent | Add avahi support to distcc and use system copy of popt. Fixes bug #203874 an... (diff) | |
download | gentoo-2-b1ee2d090caa4c1ef7b01f1361fb336a4b31ad5b.tar.gz gentoo-2-b1ee2d090caa4c1ef7b01f1361fb336a4b31ad5b.tar.bz2 gentoo-2-b1ee2d090caa4c1ef7b01f1361fb336a4b31ad5b.zip |
updated xerces-c dep for API change (bug 203019) and removed stale versions
(Portage version: 2.1.4_rc12)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/gdal/ChangeLog | 13 | ||||
-rw-r--r-- | sci-libs/gdal/files/digest-gdal-1.2.6-r4 | 3 | ||||
-rw-r--r-- | sci-libs/gdal/files/digest-gdal-1.3.0-r1 | 3 | ||||
-rw-r--r-- | sci-libs/gdal/files/gdal-1.2.6-installpathfix.patch | 210 | ||||
-rw-r--r-- | sci-libs/gdal/files/gdal-1.3.0-installpathfix.patch | 210 | ||||
-rw-r--r-- | sci-libs/gdal/gdal-1.2.6-r4.ebuild | 132 | ||||
-rw-r--r-- | sci-libs/gdal/gdal-1.3.0-r1.ebuild | 133 | ||||
-rw-r--r-- | sci-libs/gdal/gdal-1.3.1.ebuild | 16 | ||||
-rw-r--r-- | sci-libs/gdal/gdal-1.3.2.ebuild | 20 | ||||
-rw-r--r-- | sci-libs/gdal/gdal-1.4.2.ebuild | 18 |
10 files changed, 38 insertions, 720 deletions
diff --git a/sci-libs/gdal/ChangeLog b/sci-libs/gdal/ChangeLog index a0829d813fc9..d5d3ef0accd0 100644 --- a/sci-libs/gdal/ChangeLog +++ b/sci-libs/gdal/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-libs/gdal -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/ChangeLog,v 1.32 2007/07/03 20:12:55 nerdboy Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/ChangeLog,v 1.33 2008/01/04 04:08:15 nerdboy Exp $ + + 04 Jan 2008; Steve Arnold <nerdboy@gentoo.org> + -files/gdal-1.2.6-installpathfix.patch, + -files/gdal-1.3.0-installpathfix.patch, -gdal-1.2.6-r4.ebuild, + -gdal-1.3.0-r1.ebuild, gdal-1.3.1.ebuild, gdal-1.3.2.ebuild, + gdal-1.4.2.ebuild: + Updated xerces-c dep for API change (bug 203019) and removed stale versions. + The 1.4.3 release of GDAL was pulled, however, 1.4.4 will be updated for the + 2.8.0 version of xerces-c. *gdal-1.4.2 (02 Jul 2007) diff --git a/sci-libs/gdal/files/digest-gdal-1.2.6-r4 b/sci-libs/gdal/files/digest-gdal-1.2.6-r4 deleted file mode 100644 index 68e7cdb18303..000000000000 --- a/sci-libs/gdal/files/digest-gdal-1.2.6-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 410e581874ce2b94bfa00deb9f2087f6 gdal-1.2.6.tar.gz 4315879 -RMD160 2492520cfa9b724a2a880145f03e44e9804418c8 gdal-1.2.6.tar.gz 4315879 -SHA256 b2c39995839296f396cebaf0410e44aa362851315508258a46c7caee4c37706c gdal-1.2.6.tar.gz 4315879 diff --git a/sci-libs/gdal/files/digest-gdal-1.3.0-r1 b/sci-libs/gdal/files/digest-gdal-1.3.0-r1 deleted file mode 100644 index 881d81cad8ba..000000000000 --- a/sci-libs/gdal/files/digest-gdal-1.3.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fbf4e137c9d0f64f5a70273e555bf777 gdal-1.3.0.tar.gz 6644839 -RMD160 4296a5b6d3255ab8f3d20f4e7e372c35a2ca335c gdal-1.3.0.tar.gz 6644839 -SHA256 48624307e66b7e70fe75d9c4884617bfda75026cbfc20ab23764b28811864bf9 gdal-1.3.0.tar.gz 6644839 diff --git a/sci-libs/gdal/files/gdal-1.2.6-installpathfix.patch b/sci-libs/gdal/files/gdal-1.2.6-installpathfix.patch deleted file mode 100644 index 85c847b2e51e..000000000000 --- a/sci-libs/gdal/files/gdal-1.2.6-installpathfix.patch +++ /dev/null @@ -1,210 +0,0 @@ -diff -ru gdal-1.2.6/GNUmakefile gdal-1.2.6.fixed/GNUmakefile ---- gdal-1.2.6/GNUmakefile 2005-03-02 04:55:40.000000000 +1100 -+++ gdal-1.2.6.fixed/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -126,7 +126,7 @@ - - install-docs: - (cd ogr; $(MAKE) install-docs) -- $(INSTALL_DIR) $(INST_DOCS)/gdal -+ $(INSTALL_DIR) $(DESTDIR)$(INST_DOCS)/gdal - cp html/*.* $(INST_DOCS)/gdal - - web-update: docs -@@ -135,9 +135,9 @@ - install: default install-actions - - install-actions: install-lib -- $(INSTALL_DIR) $(INST_BIN) -- $(INSTALL_DIR) $(INST_DATA) -- $(INSTALL_DIR) $(INST_INCLUDE) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_BIN) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_DATA) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_INCLUDE) - (cd port; $(MAKE) install) - (cd gcore; $(MAKE) install) - (cd frmts; $(MAKE) install) -@@ -148,14 +148,14 @@ - ifneq ($(PYTHON),no) - (cd pymod; $(MAKE) install) - endif -- for f in data/*.* ; do $(INSTALL_DATA) $$f $(INST_DATA) ; done -+ for f in data/*.* ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_DATA) ; done - $(LIBTOOL_FINISH) $(INST_LIB) - - ifeq ($(HAVE_LIBTOOL),yes) - - install-lib: -- $(INSTALL_DIR) $(INST_LIB) -- for f in $(LIBGDAL-yes) ; do $(INSTALL_LIB) $$f $(INST_LIB) ; done -+ $(INSTALL_DIR) $(DESTDIR)$(INST_LIB) -+ for f in $(LIBGDAL-yes) ; do $(INSTALL_LIB) $$f $(DESTDIR)$(INST_LIB) ; done - - else - -@@ -165,11 +165,11 @@ - GDAL_SLIB_B = $(notdir $(GDAL_SLIB)) - - install-lib: -- $(INSTALL_DIR) $(INST_LIB) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_LIB) - rm -f $(INST_LIB)/$(GDAL_SLIB_B) - rm -f $(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER_MAJOR) - rm -f $(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER) -- $(INSTALL_LIB) $(GDAL_SLIB) $(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER) -+ $(INSTALL_LIB) $(GDAL_SLIB) $(DESTDIR)$(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER) - (cd $(INST_LIB) ; \ - ln -s $(GDAL_SLIB_B).$(GDAL_VER_MAJOR) $(GDAL_SLIB_B)) - (cd $(INST_LIB) ; \ -@@ -178,8 +178,8 @@ - else - - install-lib: -- $(INSTALL_DIR) $(INST_LIB) -- $(INSTALL_LIB) $(GDAL_LIB) $(INST_LIB) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_LIB) -+ $(INSTALL_LIB) $(GDAL_LIB) $(DESTDIR)$(INST_LIB) - - endif # HAVE_LD_SHARED=no - -diff -ru gdal-1.2.6/alg/GNUmakefile gdal-1.2.6.fixed/alg/GNUmakefile ---- gdal-1.2.6/alg/GNUmakefile 2004-12-27 08:26:15.000000000 +1100 -+++ gdal-1.2.6.fixed/alg/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -23,7 +23,7 @@ - (cd ..; $(MAKE) docs) - - install: -- for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done -+ for f in *.h ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; done - - lib: $(OBJ) - (cd .. ; $(MAKE) force-lib) -diff -ru gdal-1.2.6/apps/GNUmakefile gdal-1.2.6.fixed/apps/GNUmakefile ---- gdal-1.2.6/apps/GNUmakefile 2004-08-12 05:07:21.000000000 +1000 -+++ gdal-1.2.6.fixed/apps/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -85,6 +85,6 @@ - - - install: default -- for f in $(BIN_LIST) ; do $(INSTALL) $$f $(INST_BIN) ; done -- $(INSTALL) gdal-config-inst $(INST_BIN)/gdal-config -+ for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done -+ $(INSTALL) gdal-config-inst $(DESTDIR)$(INST_BIN)/gdal-config - -diff -ru gdal-1.2.6/frmts/mem/GNUmakefile gdal-1.2.6.fixed/frmts/mem/GNUmakefile ---- gdal-1.2.6/frmts/mem/GNUmakefile 2005-01-25 05:09:57.000000000 +1100 -+++ gdal-1.2.6.fixed/frmts/mem/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -15,4 +15,4 @@ - install-obj: $(O_OBJ) - - install: -- $(INSTALL_DATA) memdataset.h $(INST_INCLUDE) -+ $(INSTALL_DATA) memdataset.h $(DESTDIR)$(INST_INCLUDE) -diff -ru gdal-1.2.6/frmts/raw/GNUmakefile gdal-1.2.6.fixed/frmts/raw/GNUmakefile ---- gdal-1.2.6/frmts/raw/GNUmakefile 2005-01-25 05:09:57.000000000 +1100 -+++ gdal-1.2.6.fixed/frmts/raw/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -21,4 +21,4 @@ - $(OBJ) $(O_OBJ): rawdataset.h - - install: -- $(INSTALL_DATA) rawdataset.h $(INST_INCLUDE) -+ $(INSTALL_DATA) rawdataset.h $(DESTDIR)$(INST_INCLUDE) -diff -ru gdal-1.2.6/frmts/vrt/GNUmakefile gdal-1.2.6.fixed/frmts/vrt/GNUmakefile ---- gdal-1.2.6/frmts/vrt/GNUmakefile 2005-01-25 05:09:57.000000000 +1100 -+++ gdal-1.2.6.fixed/frmts/vrt/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -19,4 +19,4 @@ - $(OBJ) $(O_OBJ): vrtdataset.h - - install: -- $(INSTALL_DATA) vrtdataset.h $(INST_INCLUDE) -+ $(INSTALL_DATA) vrtdataset.h $(DESTDIR)$(INST_INCLUDE) -diff -ru gdal-1.2.6/gcore/GNUmakefile gdal-1.2.6.fixed/gcore/GNUmakefile ---- gdal-1.2.6/gcore/GNUmakefile 2004-04-29 23:43:34.000000000 +1000 -+++ gdal-1.2.6.fixed/gcore/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -31,4 +31,4 @@ - $*.cpp -o $*.o - - install: -- for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done -+ for f in *.h ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; done -diff -ru gdal-1.2.6/man/GNUmakefile gdal-1.2.6.fixed/man/GNUmakefile ---- gdal-1.2.6/man/GNUmakefile 2004-02-21 04:26:13.000000000 +1100 -+++ gdal-1.2.6.fixed/man/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -5,5 +5,5 @@ - include ../GDALmake.opt - - install: -- $(INSTALL_DIR) $(INST_MAN)/man1 -- for f in $(MAN1_FILES) ; do $(INSTALL_DATA) $$f $(INST_MAN)/man1 ; done -+ $(INSTALL_DIR) $(DESTDIR)$(INST_MAN)/man1 -+ for f in $(MAN1_FILES) ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_MAN)/man1 ; done -diff -ru gdal-1.2.6/ogr/GNUmakefile gdal-1.2.6.fixed/ogr/GNUmakefile ---- gdal-1.2.6/ogr/GNUmakefile 2005-03-12 01:28:05.000000000 +1100 -+++ gdal-1.2.6.fixed/ogr/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -79,7 +79,7 @@ - cp ogr_feature_style.html html - - install-docs: -- $(INSTALL_DIR) $(INST_DOCS)/ogr -+ $(INSTALL_DIR) $(DESTDIR)$(INST_DOCS)/ogr - cp html/* $(INST_DOCS)/ogr - - gdalso: $(GDAL_SLIB) -@@ -120,14 +120,14 @@ - - ifeq ($(OGR_ENABLED),yes) - install-full: apps -- $(INSTALL) ogr2ogr $(INST_BIN) -- $(INSTALL) ogrinfo $(INST_BIN) -- $(INSTALL) ogrtindex $(INST_BIN) -+ $(INSTALL) ogr2ogr $(DESTDIR)$(INST_BIN) -+ $(INSTALL) ogrinfo $(DESTDIR)$(INST_BIN) -+ $(INSTALL) ogrtindex $(DESTDIR)$(INST_BIN) - else - install-full: - endif - - install: install-full - for f in $(INST_H_FILES) ; \ -- do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; \ -+ do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; \ - done -diff -ru gdal-1.2.6/port/GNUmakefile gdal-1.2.6.fixed/port/GNUmakefile ---- gdal-1.2.6/port/GNUmakefile 2003-12-29 04:25:00.000000000 +1100 -+++ gdal-1.2.6.fixed/port/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -25,7 +25,7 @@ - $(RM) *.o $(LIB) - - install: -- for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done -+ for f in *.h ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; done - - xmlreformat: xmlreformat.o - $(CXX) $(CXXFLAGS) xmlreformat.o $(CONFIG_LIBS) -o xmlreformat -diff -ru gdal-1.2.6/pymod/GNUmakefile gdal-1.2.6.fixed/pymod/GNUmakefile ---- gdal-1.2.6/pymod/GNUmakefile 2005-02-01 09:07:02.000000000 +1100 -+++ gdal-1.2.6.fixed/pymod/GNUmakefile 2005-10-02 18:22:05.000000000 +1000 -@@ -45,9 +45,9 @@ - - # special care is taken so that python scripts are installed as executables - install: $(GDALMODULE_SO) -- $(INSTALL_DIR) $(INST_PYMOD) -- $(INSTALL_LIB) $(GDALMODULE_SO) $(INST_PYMOD) -- for f in $(PY_COMMANDS) ; do $(INSTALL) $$f $(INST_BIN) ; done -- for f in $(PY_MODULES) ; do $(INSTALL_DATA) $$f $(INST_PYMOD) ; done -+ $(INSTALL_DIR) $(DESTDIR)$(INST_PYMOD) -+ $(INSTALL_LIB) $(GDALMODULE_SO) $(DESTDIR)$(INST_PYMOD) -+ for f in $(PY_COMMANDS) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done -+ for f in $(PY_MODULES) ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_PYMOD) ; done - # ugh! spurius relinking leaves a file owned by root into .libs/. - rm -f .libs/*.soT ---- gdal-1.2.6/GDALmake.opt.in.orig 2005-10-02 21:07:42.000000000 +1000 -+++ gdal-1.2.6/GDALmake.opt.in 2005-10-02 21:08:23.000000000 +1000 -@@ -50,7 +50,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.3.0-installpathfix.patch b/sci-libs/gdal/files/gdal-1.3.0-installpathfix.patch deleted file mode 100644 index 931962d4c3a2..000000000000 --- a/sci-libs/gdal/files/gdal-1.3.0-installpathfix.patch +++ /dev/null @@ -1,210 +0,0 @@ -diff -ru gdal-1.3.0.orig/GNUmakefile gdal-1.3.0/GNUmakefile ---- gdal-1.3.0.orig/GNUmakefile 2005-03-02 04:55:40.000000000 +1100 -+++ gdal-1.3.0/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -126,7 +126,7 @@ - - install-docs: - (cd ogr; $(MAKE) install-docs) -- $(INSTALL_DIR) $(INST_DOCS)/gdal -+ $(INSTALL_DIR) $(DESTDIR)$(INST_DOCS)/gdal - cp html/*.* $(INST_DOCS)/gdal - - web-update: docs -@@ -135,9 +135,9 @@ - install: default install-actions - - install-actions: install-lib -- $(INSTALL_DIR) $(INST_BIN) -- $(INSTALL_DIR) $(INST_DATA) -- $(INSTALL_DIR) $(INST_INCLUDE) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_BIN) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_DATA) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_INCLUDE) - (cd port; $(MAKE) install) - (cd gcore; $(MAKE) install) - (cd frmts; $(MAKE) install) -@@ -148,14 +148,14 @@ - ifneq ($(PYTHON),no) - (cd pymod; $(MAKE) install) - endif -- for f in data/*.* ; do $(INSTALL_DATA) $$f $(INST_DATA) ; done -+ for f in data/*.* ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_DATA) ; done - $(LIBTOOL_FINISH) $(INST_LIB) - - ifeq ($(HAVE_LIBTOOL),yes) - - install-lib: -- $(INSTALL_DIR) $(INST_LIB) -- for f in $(LIBGDAL-yes) ; do $(INSTALL_LIB) $$f $(INST_LIB) ; done -+ $(INSTALL_DIR) $(DESTDIR)$(INST_LIB) -+ for f in $(LIBGDAL-yes) ; do $(INSTALL_LIB) $$f $(DESTDIR)$(INST_LIB) ; done - - else - -@@ -165,11 +165,11 @@ - GDAL_SLIB_B = $(notdir $(GDAL_SLIB)) - - install-lib: -- $(INSTALL_DIR) $(INST_LIB) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_LIB) - rm -f $(INST_LIB)/$(GDAL_SLIB_B) - rm -f $(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER_MAJOR) - rm -f $(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER) -- $(INSTALL_LIB) $(GDAL_SLIB) $(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER) -+ $(INSTALL_LIB) $(GDAL_SLIB) $(DESTDIR)$(INST_LIB)/$(GDAL_SLIB_B).$(GDAL_VER) - (cd $(INST_LIB) ; \ - ln -s $(GDAL_SLIB_B).$(GDAL_VER_MAJOR) $(GDAL_SLIB_B)) - (cd $(INST_LIB) ; \ -@@ -178,8 +178,8 @@ - else - - install-lib: -- $(INSTALL_DIR) $(INST_LIB) -- $(INSTALL_LIB) $(GDAL_LIB) $(INST_LIB) -+ $(INSTALL_DIR) $(DESTDIR)$(INST_LIB) -+ $(INSTALL_LIB) $(GDAL_LIB) $(DESTDIR)$(INST_LIB) - - endif # HAVE_LD_SHARED=no - -diff -ru gdal-1.3.0.orig/alg/GNUmakefile gdal-1.3.0/alg/GNUmakefile ---- gdal-1.3.0.orig/alg/GNUmakefile 2004-12-27 08:26:15.000000000 +1100 -+++ gdal-1.3.0/alg/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -23,7 +23,7 @@ - (cd ..; $(MAKE) docs) - - install: -- for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done -+ for f in *.h ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; done - - lib: $(OBJ) - (cd .. ; $(MAKE) force-lib) -diff -ru gdal-1.3.0.orig/apps/GNUmakefile gdal-1.3.0/apps/GNUmakefile ---- gdal-1.3.0.orig/apps/GNUmakefile 2005-05-12 17:10:00.000000000 +1000 -+++ gdal-1.3.0/apps/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -89,6 +89,6 @@ - - - install: default -- for f in $(BIN_LIST) ; do $(INSTALL) $$f $(INST_BIN) ; done -- $(INSTALL) gdal-config-inst $(INST_BIN)/gdal-config -+ for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done -+ $(INSTALL) gdal-config-inst $(DESTDIR)$(INST_BIN)/gdal-config - -diff -ru gdal-1.3.0.orig/frmts/mem/GNUmakefile gdal-1.3.0/frmts/mem/GNUmakefile ---- gdal-1.3.0.orig/frmts/mem/GNUmakefile 2005-01-25 05:09:57.000000000 +1100 -+++ gdal-1.3.0/frmts/mem/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -15,4 +15,4 @@ - install-obj: $(O_OBJ) - - install: -- $(INSTALL_DATA) memdataset.h $(INST_INCLUDE) -+ $(INSTALL_DATA) memdataset.h $(DESTDIR)$(INST_INCLUDE) -diff -ru gdal-1.3.0.orig/frmts/raw/GNUmakefile gdal-1.3.0/frmts/raw/GNUmakefile ---- gdal-1.3.0.orig/frmts/raw/GNUmakefile 2005-01-25 05:09:57.000000000 +1100 -+++ gdal-1.3.0/frmts/raw/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -21,4 +21,4 @@ - $(OBJ) $(O_OBJ): rawdataset.h - - install: -- $(INSTALL_DATA) rawdataset.h $(INST_INCLUDE) -+ $(INSTALL_DATA) rawdataset.h $(DESTDIR)$(INST_INCLUDE) -diff -ru gdal-1.3.0.orig/frmts/vrt/GNUmakefile gdal-1.3.0/frmts/vrt/GNUmakefile ---- gdal-1.3.0.orig/frmts/vrt/GNUmakefile 2005-01-25 05:09:57.000000000 +1100 -+++ gdal-1.3.0/frmts/vrt/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -19,4 +19,4 @@ - $(OBJ) $(O_OBJ): vrtdataset.h - - install: -- $(INSTALL_DATA) vrtdataset.h $(INST_INCLUDE) -+ $(INSTALL_DATA) vrtdataset.h $(DESTDIR)$(INST_INCLUDE) -diff -ru gdal-1.3.0.orig/gcore/GNUmakefile gdal-1.3.0/gcore/GNUmakefile ---- gdal-1.3.0.orig/gcore/GNUmakefile 2005-07-12 03:11:00.000000000 +1000 -+++ gdal-1.3.0/gcore/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -32,4 +32,4 @@ - $*.cpp -o $*.o - - install: -- for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done -+ for f in *.h ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; done -diff -ru gdal-1.3.0.orig/man/GNUmakefile gdal-1.3.0/man/GNUmakefile ---- gdal-1.3.0.orig/man/GNUmakefile 2004-02-21 04:26:13.000000000 +1100 -+++ gdal-1.3.0/man/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -5,5 +5,5 @@ - include ../GDALmake.opt - - install: -- $(INSTALL_DIR) $(INST_MAN)/man1 -- for f in $(MAN1_FILES) ; do $(INSTALL_DATA) $$f $(INST_MAN)/man1 ; done -+ $(INSTALL_DIR) $(DESTDIR)$(INST_MAN)/man1 -+ for f in $(MAN1_FILES) ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_MAN)/man1 ; done -diff -ru gdal-1.3.0.orig/ogr/GNUmakefile gdal-1.3.0/ogr/GNUmakefile ---- gdal-1.3.0.orig/ogr/GNUmakefile 2005-03-12 01:28:05.000000000 +1100 -+++ gdal-1.3.0/ogr/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -79,7 +79,7 @@ - cp ogr_feature_style.html html - - install-docs: -- $(INSTALL_DIR) $(INST_DOCS)/ogr -+ $(INSTALL_DIR) $(DESTDIR)$(INST_DOCS)/ogr - cp html/* $(INST_DOCS)/ogr - - gdalso: $(GDAL_SLIB) -@@ -120,14 +120,14 @@ - - ifeq ($(OGR_ENABLED),yes) - install-full: apps -- $(INSTALL) ogr2ogr $(INST_BIN) -- $(INSTALL) ogrinfo $(INST_BIN) -- $(INSTALL) ogrtindex $(INST_BIN) -+ $(INSTALL) ogr2ogr $(DESTDIR)$(INST_BIN) -+ $(INSTALL) ogrinfo $(DESTDIR)$(INST_BIN) -+ $(INSTALL) ogrtindex $(DESTDIR)$(INST_BIN) - else - install-full: - endif - - install: install-full - for f in $(INST_H_FILES) ; \ -- do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; \ -+ do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; \ - done -diff -ru gdal-1.3.0.orig/port/GNUmakefile gdal-1.3.0/port/GNUmakefile ---- gdal-1.3.0.orig/port/GNUmakefile 2005-06-11 01:00:00.000000000 +1000 -+++ gdal-1.3.0/port/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -25,7 +25,7 @@ - $(RM) *.o $(LIB) - - install: -- for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done -+ for f in *.h ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_INCLUDE) ; done - - xmlreformat: xmlreformat.o - $(CXX) $(CXXFLAGS) xmlreformat.o $(CONFIG_LIBS) -o xmlreformat -diff -ru gdal-1.3.0.orig/pymod/GNUmakefile gdal-1.3.0/pymod/GNUmakefile ---- gdal-1.3.0.orig/pymod/GNUmakefile 2005-02-01 09:07:02.000000000 +1100 -+++ gdal-1.3.0/pymod/GNUmakefile 2005-10-02 18:28:59.000000000 +1000 -@@ -45,9 +45,9 @@ - - # special care is taken so that python scripts are installed as executables - install: $(GDALMODULE_SO) -- $(INSTALL_DIR) $(INST_PYMOD) -- $(INSTALL_LIB) $(GDALMODULE_SO) $(INST_PYMOD) -- for f in $(PY_COMMANDS) ; do $(INSTALL) $$f $(INST_BIN) ; done -- for f in $(PY_MODULES) ; do $(INSTALL_DATA) $$f $(INST_PYMOD) ; done -+ $(INSTALL_DIR) $(DESTDIR)$(INST_PYMOD) -+ $(INSTALL_LIB) $(GDALMODULE_SO) $(DESTDIR)$(INST_PYMOD) -+ for f in $(PY_COMMANDS) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done -+ for f in $(PY_MODULES) ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_PYMOD) ; done - # ugh! spurius relinking leaves a file owned by root into .libs/. - rm -f .libs/*.soT ---- gdal-1.3.0/GDALmake.opt.in.orig 2005-10-02 21:04:30.000000000 +1000 -+++ gdal-1.3.0/GDALmake.opt.in 2005-10-02 21:04:59.000000000 +1000 -@@ -50,7 +50,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/gdal-1.2.6-r4.ebuild b/sci-libs/gdal/gdal-1.2.6-r4.ebuild deleted file mode 100644 index d305d54029d9..000000000000 --- a/sci-libs/gdal/gdal-1.2.6-r4.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.2.6-r4.ebuild,v 1.14 2007/07/13 06:57:51 mr_bones_ Exp $ - -inherit eutils libtool distutils toolchain-funcs - -IUSE="jpeg png geos gif jpeg2k netcdf hdf python postgres mysql sqlite \ - odbc ogdi fits gml doc debug" - -DESCRIPTION="GDAL is a translator library for raster geospatial data formats (includes OGR support)" -HOMEPAGE="http://www.remotesensing.org/gdal/index.html" -SRC_URI="http://dl.maptools.org/dl/gdal/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 ppc sparc x86" -# need to get these arches updated on several libs first -#KEYWORDS="~alpha ~hppa ~ppc64" - -DEPEND=">=sys-libs/zlib-1.1.4 - >=media-libs/tiff-3.7.0 - sci-libs/libgeotiff - jpeg? ( media-libs/jpeg ) - gif? ( media-libs/giflib ) - png? ( media-libs/libpng ) - python? ( dev-lang/python ) - fits? ( sci-libs/cfitsio ) - ogdi? ( sci-libs/ogdi ) - gml? ( dev-libs/xerces-c ) - || ( - postgres? ( dev-db/postgresql ) - mysql? ( virtual/mysql ) - ) - || ( - netcdf? ( sci-libs/netcdf ) - hdf? ( sci-libs/hdf ) - ) - jpeg2k? ( media-libs/jasper ) - odbc? ( dev-db/unixODBC ) - geos? ( sci-libs/geos ) - sqlite? ( >=dev-db/sqlite-3 ) - doc? ( app-doc/doxygen )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-installpathfix.patch || die "epatch failed" - if [ $(gcc-major-version) -eq 4 ] ; then - epatch ${FILESDIR}/${PN}-gcc4.patch || die "gcc4 patch failed" - fi - elibtoolize --patch-only - if useq netcdf && useq hdf; then - einfo "Checking is HDF4 compiled with szip..." - if built_with_use sci-libs/hdf szip ; then - einfo "Found HDF4 compiled with szip. Nice." - else - ewarn "HDF4 (sci-libs/hdf) must be compiled with szip USE flag!" - einfo "Emerge HDF with szip USE flag and then emerge GDAL." - die "HDF4 not merged with szip use flag" - fi - fi -} - -src_compile() { - distutils_python_version - - pkg_conf="--enable-static=no --enable-shared=yes --with-gnu-ld" - - use_conf="$(use_with jpeg) $(use_with png) $(use_with mysql) \ - $(use_with postgres pg) $(use_with fits cfitsio) \ - $(use_with netcdf) $(use_with hdf hdf4) $(use_with geos) \ - $(use_with sqlite) $(use_with jpeg2k jasper) $(use_with odbc) \ - $(use_with gml xerces)" - - # It can't find this - if useq ogdi ; then - use_conf="--with-ogdi=/usr/$(get_libdir) ${use_conf}" - fi - - if useq gif ; then - use_conf="--with-gif=internal ${use_conf}" - else - use_conf="--with-gif=no ${use_conf}" - fi - - if useq debug ; then - export CFG=debug - fi - - if useq python ; then - use_conf="--with-pymoddir=/usr/$(get_libdir)/python${PYVER}/site-packages \ - ${use_conf}" - else - use_conf="--with-python=no ${use_conf}" - fi - - # Fix doc path just in case - sed -i -e "s:@exec_prefix@/doc:${D}usr/share/doc/${PF}/html:g" GDALmake.opt.in - - econf ${pkg_conf} ${use_conf} || die "econf failed" - emake || die "emake failed" - if useq doc ; then - emake docs || die "emake docs failed" - fi -} - -src_install() { - # einstall causes sandbox violations on /usr/lib/libgdal.so - make DESTDIR=${D} install || die "make install failed" - dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS - if useq doc ; then - dohtml html/* || die "install html failed" - docinto ogr - dohtml ogr/html/* || die "install ogr html failed" - fi -} - -pkg_postinst() { - einfo "GDAL is most useful with full graphics support enabled via various" - einfo "USE flags: png, jpeg, gif, jpeg2k, etc. Also python, fits, ogdi," - einfo "geos, and support for either netcdf or HDF4 is available, as well as" - einfo "grass, and mysql, sqlite, or postgres (grass support requires newer" - einfo "gdal and gdal-grass)." - ewarn - einfo "Note: tiff and geotiff are now hard depends, so no USE flags." - einfo "Also, this package will check for netcdf before hdf, so if you" - einfo "prefer hdf, please emerge hdf with USE=szip prior to emerging" - einfo "gdal. Detailed API docs require doxygen (man pages are free)." - einfo "" - einfo "Check available image and data formats after building with" - einfo "gdalinfo and ogrinfo (using the --formats switch)." -} diff --git a/sci-libs/gdal/gdal-1.3.0-r1.ebuild b/sci-libs/gdal/gdal-1.3.0-r1.ebuild deleted file mode 100644 index 180ca0a6cc40..000000000000 --- a/sci-libs/gdal/gdal-1.3.0-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.0-r1.ebuild,v 1.14 2007/07/13 06:57:51 mr_bones_ Exp $ - -inherit eutils libtool distutils toolchain-funcs - -IUSE="jpeg png geos gif jpeg2k netcdf hdf hdf5 python postgres mysql \ - odbc sqlite ogdi fits gml doc debug" - -DESCRIPTION="GDAL is a translator library for raster geospatial data formats (includes OGR support)" -HOMEPAGE="http://www.remotesensing.org/gdal/index.html" -SRC_URI="http://dl.maptools.org/dl/gdal/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 ppc ~sparc x86" -# need to get these arches updated on several libs first -#KEYWORDS="~alpha ~hppa ~ppc64" - -DEPEND=">=sys-libs/zlib-1.1.4 - >=media-libs/tiff-3.7.0 - sci-libs/libgeotiff - jpeg? ( media-libs/jpeg ) - gif? ( media-libs/giflib ) - png? ( media-libs/libpng ) - python? ( dev-lang/python ) - fits? ( sci-libs/cfitsio ) - ogdi? ( sci-libs/ogdi ) - gml? ( dev-libs/xerces-c ) - hdf5? ( >=sci-libs/hdf5-1.6.4 ) - || ( - postgres? ( dev-db/postgresql ) - mysql? ( virtual/mysql ) - ) - || ( - netcdf? ( sci-libs/netcdf ) - hdf? ( sci-libs/hdf ) - ) - jpeg2k? ( media-libs/jasper ) - odbc? ( dev-db/unixODBC ) - geos? ( >=sci-libs/geos-2.2.1 ) - sqlite? ( >=dev-db/sqlite-3 ) - doc? ( app-doc/doxygen )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-installpathfix.patch || die "epatch failed" - if [ $(gcc-major-version) -eq 4 ] ; then - epatch ${FILESDIR}/${PN}-gcc4.patch || die "gcc4 patch failed" - fi - elibtoolize --patch-only - if useq netcdf && useq hdf; then - einfo "Checking is HDF4 compiled with szip..." - if built_with_use sci-libs/hdf szip ; then - einfo "Found HDF4 compiled with szip. Nice." - else - ewarn "HDF4 (sci-libs/hdf) must be compiled with szip USE flag!" - einfo "Emerge HDF with szip USE flag and then emerge GDAL." - die "HDF4 not merged with szip use flag" - fi - fi -} - -src_compile() { - distutils_python_version - - pkg_conf="--enable-static=no --enable-shared=yes --with-gnu-ld" - - use_conf="$(use_with jpeg) $(use_with png) $(use_with mysql) \ - $(use_with postgres pg) $(use_with fits cfitsio) \ - $(use_with netcdf) $(use_with hdf hdf4) $(use_with geos) \ - $(use_with sqlite) $(use_with jpeg2k jasper) $(use_with odbc) \ - $(use_with gml xerces) $(use_with hdf5)" - - # It can't find this - if useq ogdi ; then - use_conf="--with-ogdi=/usr/$(get_libdir) ${use_conf}" - fi - - if useq gif ; then - use_conf="--with-gif=internal ${use_conf}" - else - use_conf="--with-gif=no ${use_conf}" - fi - - if useq debug ; then - export CFG=debug - fi - - if useq python ; then - use_conf="--with-pymoddir=/usr/$(get_libdir)/python${PYVER}/site-packages \ - ${use_conf}" - else - use_conf="--with-python=no ${use_conf}" - fi - - # Fix doc path just in case - sed -i -e "s:@exec_prefix@/doc:/usr/share/doc/${PF}/html:g" GDALmake.opt.in - - econf ${pkg_conf} ${use_conf} || die "econf failed" - emake || die "emake failed" - if useq doc ; then - emake docs || die "emake docs failed" - fi -} - -src_install() { - # einstall causes sandbox violations on /usr/lib/libgdal.so - make DESTDIR=${D} install || die "make install failed" - dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS - if useq doc ; then - dohtml html/* || die "install html failed" - docinto ogr - dohtml ogr/html/* || die "install ogr html failed" - fi -} - -pkg_postinst() { - einfo "GDAL is most useful with full graphics support enabled via various" - einfo "USE flags: png, jpeg, gif, jpeg2k, etc. Also python, fits, ogdi," - einfo "geos, and support for either netcdf or HDF4 is available, as well as" - einfo "grass, and mysql, sqlite, or postgres (grass support requires newer" - einfo "gdal and gdal-grass)." - ewarn - einfo "Note: tiff and geotiff are now hard depends, so no USE flags." - einfo "Also, this package will check for netcdf before hdf, so if you" - einfo "prefer hdf, please emerge hdf with USE=szip prior to emerging" - einfo "gdal. Detailed API docs require doxygen (man pages are free)." - einfo "" - einfo "Check available image and data formats after building with" - einfo "gdalinfo and ogrinfo (using the --formats switch)." -} diff --git a/sci-libs/gdal/gdal-1.3.1.ebuild b/sci-libs/gdal/gdal-1.3.1.ebuild index e706b47224aa..b9a0c1c4a02f 100644 --- a/sci-libs/gdal/gdal-1.3.1.ebuild +++ b/sci-libs/gdal/gdal-1.3.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.1.ebuild,v 1.14 2007/01/05 09:08:46 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.1.ebuild,v 1.15 2008/01/04 04:08:15 nerdboy Exp $ inherit eutils libtool distutils toolchain-funcs @@ -15,7 +15,7 @@ SLOT="0" LICENSE="MIT" KEYWORDS="amd64 ppc ppc64 sparc x86" # need to get these arches updated on several libs first -#KEYWORDS="~alpha ~hppa ~ppc64" +#KEYWORDS="~alpha ~hppa" DEPEND=">=sys-libs/zlib-1.1.4 >=media-libs/tiff-3.7.0 @@ -26,7 +26,7 @@ DEPEND=">=sys-libs/zlib-1.1.4 python? ( dev-lang/python ) fits? ( sci-libs/cfitsio ) ogdi? ( sci-libs/ogdi ) - gml? ( dev-libs/xerces-c ) + gml? ( <dev-libs/xerces-c-2.8.0 ) hdf5? ( >=sci-libs/hdf5-1.6.4 ) postgres? ( dev-db/postgresql ) || ( @@ -41,10 +41,10 @@ DEPEND=">=sys-libs/zlib-1.1.4 src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-installpathfix.patch || die "installpath patch failed" + cd "${S}" + epatch "${FILESDIR}/${P}-installpathfix.patch" || die "installpath patch failed" if [ $(gcc-major-version) -eq 4 ] ; then - epatch ${FILESDIR}/${PN}-gcc4.patch || die "gcc4 patch failed" + epatch "${FILESDIR}/${PN}-gcc4.patch" || die "gcc4 patch failed" fi elibtoolize --patch-only if useq netcdf && useq hdf; then @@ -111,7 +111,7 @@ src_compile() { src_install() { # einstall causes sandbox violations on /usr/lib/libgdal.so - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS if useq doc ; then dohtml html/* || die "install html failed" diff --git a/sci-libs/gdal/gdal-1.3.2.ebuild b/sci-libs/gdal/gdal-1.3.2.ebuild index f6db21d1aac7..b3de325bed84 100644 --- a/sci-libs/gdal/gdal-1.3.2.ebuild +++ b/sci-libs/gdal/gdal-1.3.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.2.ebuild,v 1.4 2007/01/05 09:08:46 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.2.ebuild,v 1.5 2008/01/04 04:08:15 nerdboy Exp $ inherit eutils libtool distutils toolchain-funcs @@ -28,7 +28,7 @@ DEPEND=">=sys-libs/zlib-1.1.4 >=dev-lang/swig-1.3.28 ) fits? ( sci-libs/cfitsio ) ogdi? ( sci-libs/ogdi ) - gml? ( dev-libs/xerces-c ) + gml? ( <dev-libs/xerces-c-2.8.0 ) hdf5? ( >=sci-libs/hdf5-1.6.4 ) postgres? ( dev-db/postgresql ) || ( @@ -43,11 +43,11 @@ DEPEND=">=sys-libs/zlib-1.1.4 src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-destdir.patch || die "epatch failed" - epatch ${FILESDIR}/${P}-ruby-install.patch || die "epatch failed" + cd "${S}" + epatch "${FILESDIR}/${P}-destdir.patch" || die "epatch failed" + epatch "${FILESDIR}/${P}-ruby-install.patch" || die "epatch failed" if [ $(gcc-major-version) -eq 4 ]; then - epatch ${FILESDIR}/${P}-gcc4-stl.patch || die "epatch failed" + epatch "${FILESDIR}/${P}-gcc4-stl.patch" || die "epatch failed" fi elibtoolize --patch-only if useq netcdf && useq hdf; then @@ -109,9 +109,9 @@ src_compile() { # also failing with gcc4 in libcsf make || die "make failed" if useq ruby ; then - cd ${S}/swig + cd "${S}"/swig make build || die "make ruby failed" - cd ${S} + cd "${S}" fi if useq doc ; then make docs || die "make docs failed" @@ -120,7 +120,7 @@ src_compile() { src_install() { # einstall causes sandbox violations on /usr/lib/libgdal.so - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS if useq doc ; then dohtml html/* || die "install html failed" diff --git a/sci-libs/gdal/gdal-1.4.2.ebuild b/sci-libs/gdal/gdal-1.4.2.ebuild index 2823886a107a..fd93ad3ebc4e 100644 --- a/sci-libs/gdal/gdal-1.4.2.ebuild +++ b/sci-libs/gdal/gdal-1.4.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.4.2.ebuild,v 1.1 2007/07/03 20:12:55 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.4.2.ebuild,v 1.2 2008/01/04 04:08:15 nerdboy Exp $ inherit eutils libtool distutils toolchain-funcs @@ -28,7 +28,7 @@ DEPEND=">=sys-libs/zlib-1.1.4 >=dev-lang/swig-1.3.28 ) fits? ( sci-libs/cfitsio ) ogdi? ( sci-libs/ogdi ) - gml? ( dev-libs/xerces-c ) + gml? ( <dev-libs/xerces-c-2.8.0 ) hdf5? ( >=sci-libs/hdf5-1.6.4 ) postgres? ( dev-db/postgresql ) || ( @@ -43,10 +43,10 @@ DEPEND=">=sys-libs/zlib-1.1.4 src_unpack() { unpack ${A} - cd ${S} + cd "${S}" - epatch ${FILESDIR}/${P}-datadir.patch || die "epatch failed" - epatch ${FILESDIR}/${P}-ruby-install.patch || die "epatch failed" + epatch "${FILESDIR}/${P}-datadir.patch" || die "epatch failed" + epatch "${FILESDIR}/${P}-ruby-install.patch" || die "epatch failed" elibtoolize --patch-only @@ -108,9 +108,9 @@ src_compile() { # also failing with gcc4 in libcsf make || die "make failed" if useq ruby ; then - cd ${S}/swig + cd "${S}"/swig make build || die "make ruby failed" - cd ${S} + cd "${S}" fi if useq doc ; then make docs || die "make docs failed" @@ -119,7 +119,7 @@ src_compile() { src_install() { # einstall causes sandbox violations on /usr/lib/libgdal.so - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS if useq doc ; then dohtml html/* || die "install html failed" |