[csw-devel] SF.net SVN: gar:[19052] csw/mgar/pkg/cpan/DBD-Pg/trunk

guengel at users.sourceforge.net guengel at users.sourceforge.net
Wed Aug 22 11:23:34 CEST 2012


Revision: 19052
          http://gar.svn.sourceforge.net/gar/?rev=19052&view=rev
Author:   guengel
Date:     2012-08-22 09:23:34 +0000 (Wed, 22 Aug 2012)
Log Message:
-----------
cpan/DBD-Pg/trunk: Link against CSWlibpq5 instead of the old CSWlibpq.

Modified Paths:
--------------
    csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/cpan/DBD-Pg/trunk/files/changelog.CSW

Modified: csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile	2012-08-22 07:55:30 UTC (rev 19051)
+++ csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile	2012-08-22 09:23:34 UTC (rev 19052)
@@ -10,21 +10,28 @@
   to PostgreSQL databases.
 endef
 
+DISTFILES += changelog.CSW
+
 PATCHFILES = 0001-Dont-return-value-in-dequote_bytea.patch
 
-PACKAGES = CSWpmdbdpg
-CATALOGNAME = pm_dbdpg
+PACKAGES = CSWpm-dbd-pg
+SPKG_DESC_CSWpm-dbd-pg = $(DESCRIPTION)
 
-PG_HOME = /opt/csw/postgresql
-RUNTIME_DEP_PKGS = CSWlibpq
-BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS)
+OBSOLETED_BY_CSWpm-dbd-pg = CSWpmdbdpg 
+CATALOGNAME_CSWpmdbdpg = pm_dbdpg_stub
 
+RUNTIME_DEP_PKGS += CSWlibpq5
+RUNTIME_DEP_PKGS += CSWpm-dbi
+BUILD_DEP_PKGS  = $(RUNTIME_DEP_PKGS)
+BUILD_DEP_PKGS += CSWpostgresql-dev
+
 LICENSE = README
 
-# we need to override pg_config, because the RPATH is missing
-PERL_CONFIGURE_ARGS += LIBS="-L$(PG_HOME)/lib -R$(PG_HOME)/lib -lpq"
+PERL_CONFIGURE_ARGS += cc="$(CC)"
+PERL_CONFIGURE_ARGS += ld="$(CC)"
 
 include gar/category.mk
 
-# set postgres home
-CONFIGURE_ENV += POSTGRES_HOME=$(PG_HOME)
+# set postgres home and lib
+CONFIGURE_ENV += POSTGRES_HOME="$(prefix)"
+CONFIGURE_ENV += POSTGRES_LIB="$(libdir) -lssl"

Added: csw/mgar/pkg/cpan/DBD-Pg/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/cpan/DBD-Pg/trunk/files/changelog.CSW	                        (rev 0)
+++ csw/mgar/pkg/cpan/DBD-Pg/trunk/files/changelog.CSW	2012-08-22 09:23:34 UTC (rev 19052)
@@ -0,0 +1,7 @@
+DBD-Pg (2.17.2,REV=2012.08.22)
+
+  * Linked against CSWlibpg5.
+
+  * Renamed package from CSWpmdbdpg CSWpm-dbd-pg.
+
+ -- Rafael Ostertag <rafisol at opencsw.org>  Wed, 22 Aug 2012 11:09:49 +0200

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