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

bensons at users.sourceforge.net bensons at users.sourceforge.net
Tue Feb 16 16:14:34 CET 2010


Revision: 8592
          http://gar.svn.sourceforge.net/gar/?rev=8592&view=rev
Author:   bensons
Date:     2010-02-16 15:14:34 +0000 (Tue, 16 Feb 2010)

Log Message:
-----------
cpan DBD-Pg: fixed link error

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

Modified: csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile	2010-02-16 15:14:08 UTC (rev 8591)
+++ csw/mgar/pkg/cpan/DBD-Pg/trunk/Makefile	2010-02-16 15:14:34 UTC (rev 8592)
@@ -12,6 +12,16 @@
 PACKAGES = CSWpmdbdpg
 CATALOGNAME = pm_dbdpg
 
+PG_HOME = /opt/csw/postgresql
+RUNTIME_DEP_PKGS = CSWlibpq
+BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS)
+
 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"
+
 include gar/category.mk
+
+# set postgres home
+CONFIGURE_ENV += POSTGRES_HOME=$(PG_HOME)


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