[csw-devel] SF.net SVN: gar:[10670] csw/mgar/pkg/rbgems/pg/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Jul 29 18:27:39 CEST 2010
Revision: 10670
http://gar.svn.sourceforge.net/gar/?rev=10670&view=rev
Author: dmichelsen
Date: 2010-07-29 16:27:39 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
rbgems/pg: Use arch-specific pgconfig (what a crappy postgres package)
Modified Paths:
--------------
csw/mgar/pkg/rbgems/pg/trunk/Makefile
Modified: csw/mgar/pkg/rbgems/pg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rbgems/pg/trunk/Makefile 2010-07-29 16:12:34 UTC (rev 10669)
+++ csw/mgar/pkg/rbgems/pg/trunk/Makefile 2010-07-29 16:27:39 UTC (rev 10670)
@@ -13,7 +13,7 @@
PACKAGES = CSWgem-pg
CATALOGNAME = gem_pg
-BUILD_DEP_PKGS = CSWpostgresql CSWgem-rakecompiler
+BUILD_DEP_PKGS = CSWpostgresql CSWgem-rakecompiler CSWgem-rdoc
RUNTIME_DEP_PKGS = CSWlibpq
LICENSE = LICENSE
@@ -36,7 +36,10 @@
cd $(WORKSRC) && ruby setup.rb setup
@$(MAKECOOKIE)
-install-ruby-setup: GEM_BUILD_FLAGS=--with-pg-config=/opt/csw/postgresql/bin/pg_config32
+PGCONFIG-sparc = pg_config32
+PGCONFIG-i386 = pg_config
+
+install-ruby-setup: GEM_BUILD_FLAGS=--with-pg-config=/opt/csw/postgresql/bin/$(PGCONFIG-$(GARCH))
install-ruby-setup:
# cd $(WORKSRC) && ruby setup.rb install \
# --prefix=$(DESTDIR)
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