[csw-devel] SF.net SVN: gar:[17784] csw/mgar/pkg/gdal/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Fri Apr 20 03:25:43 CEST 2012
Revision: 17784
http://gar.svn.sourceforge.net/gar/?rev=17784&view=rev
Author: bdwalton
Date: 2012-04-20 01:25:43 +0000 (Fri, 20 Apr 2012)
Log Message:
-----------
gdal/trunk: overhaul of library deps and a few other tweaks
Modified Paths:
--------------
csw/mgar/pkg/gdal/trunk/Makefile
Modified: csw/mgar/pkg/gdal/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gdal/trunk/Makefile 2012-04-20 00:07:04 UTC (rev 17783)
+++ csw/mgar/pkg/gdal/trunk/Makefile 2012-04-20 01:25:43 UTC (rev 17784)
@@ -9,6 +9,8 @@
GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for data translation and processing.
endef
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
MASTER_SITES = http://download.osgeo.org/$(NAME)/
DISTFILES = $(DISTNAME).tar.gz
PATCHFILES += 0001-Force-the-use-of-CSWbash.patch
@@ -17,44 +19,42 @@
CATALOGNAME_CSWgdal = gdal
SPKG_DESC_CSWgdal = $(DESCRIPTION)
RUNTIME_DEP_PKGS_CSWgdal += CSWlibgdal1
-RUNTIME_DEP_PKGS_CSWgdal += CSWcurlrt
-RUNTIME_DEP_PKGS_CSWgdal += CSWexpat
-RUNTIME_DEP_PKGS_CSWgdal += CSWgcc4corert
-RUNTIME_DEP_PKGS_CSWgdal += CSWgcc4g++rt
-RUNTIME_DEP_PKGS_CSWgdal += CSWgiflibrt
-RUNTIME_DEP_PKGS_CSWgdal += CSWhdf5rt
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibcurl4
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibexpat1
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibstdc++6
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibhdf5-7
RUNTIME_DEP_PKGS_CSWgdal += CSWjasper
-RUNTIME_DEP_PKGS_CSWgdal += CSWjpeg
-RUNTIME_DEP_PKGS_CSWgdal += CSWlibcares2
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibjpeg7
RUNTIME_DEP_PKGS_CSWgdal += CSWlibidn11
-RUNTIME_DEP_PKGS_CSWgdal += CSWlibnetcdf6
RUNTIME_DEP_PKGS_CSWgdal += CSWlibsqlite3-0
-RUNTIME_DEP_PKGS_CSWgdal += CSWoldaprt
-RUNTIME_DEP_PKGS_CSWgdal += CSWosslrt
-RUNTIME_DEP_PKGS_CSWgdal += CSWpng
-RUNTIME_DEP_PKGS_CSWgdal += CSWtiff
-RUNTIME_DEP_PKGS_CSWgdal += CSWzlib
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibssl0-9-8
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibpng12-0
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibtiff3
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibz1
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibnetcdf7
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibpq5
+RUNTIME_DEP_PKGS_CSWgdal += CSWlibmysqlclient15
PACKAGES += CSWlibgdal1
CATALOGNAME_CSWlibgdal1 = libgdal1
SPKG_DESC_CSWlibgdal1 += Geospatial Data Abstraction Library, libgdal.so.1
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWcurlrt
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWexpat
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWgcc4corert
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWgcc4g++rt
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWgiflibrt
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWhdf5rt
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibcurl4
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibexpat1
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibstdc++6
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibhdf5-7
RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWjasper
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWjpeg
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibcares2
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibjpeg7
RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibidn11
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibnetcdf6
RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibsqlite3-0
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWoldaprt
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWosslrt
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWpng
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWtiff
-RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWzlib
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibssl0-9-8
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibpng12-0
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibtiff3
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibnetcdf7
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibmysqlclient15
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibpq5
+RUNTIME_DEP_PKGS_CSWlibgdal1 += CSWlibgcc-s1
PKGFILES_CSWlibgdal1 += $(call baseisadirs,$(libdir),libgdal\.so\.1\.15\.0)
PKGFILES_CSWlibgdal1 += $(call baseisadirs,$(libdir),libgdal\.so\.1(\.\d+)*)
@@ -72,8 +72,7 @@
CONFIGURE_ARGS += --with-libtiff=$(prefix)
CONFIGURE_ARGS += --with-jpeg=$(prefix)
CONFIGURE_ARGS += --with-expat=$(prefix)
-CONFIGURE_ARGS += --with-mysql=/opt/csw/mysql5/bin/mysql_config
-
+CONFIGURE_ARGS += --with-mysql=/opt/csw/bin/mysql_config
CONFIGURE_ARGS += --with-sqlite3=$(prefix)
# doesn't have tests?
@@ -81,6 +80,8 @@
LICENSE = LICENSE.TXT
+EXTRA_LIB += /opt/csw/postgresql/lib
+
include gar/category.mk
ifeq ($(GARCH),sparc)
@@ -88,3 +89,6 @@
else
CONFIGURE_ARGS += --with-pg=/opt/csw/postgresql/bin/pg_config
endif
+
+# to avoid the __sync_fetch_and_add4 issue (must be after including category)
+ARCHFLAGS_GCC4_sparcvv8 = -m32
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list