[csw-devel] SF.net SVN: gar:[20595] csw/mgar/pkg/postgresql/trunk/Makefile
guengel at users.sourceforge.net
guengel at users.sourceforge.net
Fri Apr 5 22:09:59 CEST 2013
Revision: 20595
http://gar.svn.sourceforge.net/gar/?rev=20595&view=rev
Author: guengel
Date: 2013-04-05 20:09:59 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
postgresql/trunk: Fixed alternatives.
Modified Paths:
--------------
csw/mgar/pkg/postgresql/trunk/Makefile
Modified: csw/mgar/pkg/postgresql/trunk/Makefile
===================================================================
--- csw/mgar/pkg/postgresql/trunk/Makefile 2013-04-05 20:09:38 UTC (rev 20594)
+++ csw/mgar/pkg/postgresql/trunk/Makefile 2013-04-05 20:09:59 UTC (rev 20595)
@@ -512,8 +512,11 @@
$(eval alt_priority = 20) \
$(foreach alt,$(NEEDED_ISAS), \
$(eval alt_priority=$(shell expr $(alt_priority) + 10)) \
- $(eval ALTERNATIVE_$(pkg)_$(alt) = $(subst /$(ISA_DEFAULT)/,/,$(foreach n,$(firstword $(BIN_NAMES_$(uppercase_$(pkg)))),$(bindir)/$(n)-$(BASE_VERSION_NODOT) $(n)-$(BASE_VERSION_NODOT) $(libexecdir)/$(alt)/$(NAME)/$(BASE_VERSION_NODOT)/$(n))) $(alt_priority)) \
- $(eval ALTERNATIVE_$(pkg)_$(alt) += $(subst /$(ISA_DEFAULT)/,/,$(foreach n,$(wordlist 2,$(words $(BIN_NAMES_$(uppercase_$(pkg)))),$(BIN_NAMES_$(uppercase_$(pkg)))),$(bindir)/$(n)-$(BASE_VERSION_NODOT) $(n)-$(BASE_VERSION_NODOT) $(libexecdir)/$(alt)/$(NAME)/$(BASE_VERSION_NODOT)/$(n)))) \
+ $(eval firstbin=$(firstword $(BIN_NAMES_$(uppercase_$(pkg))))) \
+ $(eval mybindir=$(prefix)/bin) \
+ $(eval mylibexecdir=$(prefix)/libexec/$(alt)) \
+ $(eval ALTERNATIVE_$(pkg)_$(alt) = $(subst /$(ISA_DEFAULT)/,/,$(mybindir)/$(firstbin)-$(BASE_VERSION_NODOT) $(NAME)$(BASE_VERSION_NODOT)-$(pkg) $(mylibexecdir)/$(NAME)/$(BASE_VERSION_NODOT)/$(firstbin)) $(alt_priority)) \
+ $(eval ALTERNATIVE_$(pkg)_$(alt) += $(subst /$(ISA_DEFAULT)/,/,$(foreach n,$(wordlist 2,$(words $(BIN_NAMES_$(uppercase_$(pkg)))),$(BIN_NAMES_$(uppercase_$(pkg)))),$(mybindir)/$(n)-$(BASE_VERSION_NODOT) $(NAME)$(BASE_VERSION_NODOT)-$(pkg) $(mylibexecdir)/$(NAME)/$(BASE_VERSION_NODOT)/$(n)))) \
)\
)
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