[csw-devel] SF.net SVN: gar:[13903] csw/mgar/gar/v2-defaultchange

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Mar 21 14:24:57 CET 2011


Revision: 13903
          http://gar.svn.sourceforge.net/gar/?rev=13903&view=rev
Author:   dmichelsen
Date:     2011-03-21 13:24:56 +0000 (Mon, 21 Mar 2011)

Log Message:
-----------
mGAR v2 defaultchange: Changes as announced

Modified Paths:
--------------
    csw/mgar/gar/v2-defaultchange/gar.conf.mk
    csw/mgar/gar/v2-defaultchange/gar.lib.mk
    csw/mgar/gar/v2-defaultchange/gar.mk
    csw/mgar/gar/v2-defaultchange/gar.pkg.mk

Modified: csw/mgar/gar/v2-defaultchange/gar.conf.mk
===================================================================
--- csw/mgar/gar/v2-defaultchange/gar.conf.mk	2011-03-21 12:53:02 UTC (rev 13902)
+++ csw/mgar/gar/v2-defaultchange/gar.conf.mk	2011-03-21 13:24:56 UTC (rev 13903)
@@ -129,9 +129,9 @@
 libexecdir_install ?= $(exec_prefix)/libexec
 libexecdir         ?= $(abspath $(libexecdir_install)/$(MM_BINDIR))
 datadir            ?= $(prefix)/share
-sysconfdir         ?= $(prefix)/etc
+sysconfdir         ?= /etc$(prefix)
 sharedstatedir     ?= $(prefix)/share
-localstatedir      ?= $(prefix)/var
+localstatedir      ?= /var$(prefix)
 libdir_install     ?= $(exec_prefix)/lib
 libdir             ?= $(abspath $(libdir_install)/$(MM_LIBDIR))
 infodir            ?= $(sharedstatedir)/info

Modified: csw/mgar/gar/v2-defaultchange/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2-defaultchange/gar.lib.mk	2011-03-21 12:53:02 UTC (rev 13902)
+++ csw/mgar/gar/v2-defaultchange/gar.lib.mk	2011-03-21 13:24:56 UTC (rev 13903)
@@ -807,6 +807,8 @@
 
 DIRPATHS = $(filter-out $(addsuffix %,$(NODIRPATHS)), $(TMP_DIRPATHS))
 
+CONFIGURE_ARGS ?= $(DIRPATHS) $(EXTRA_CONFIGURE_ARGS)
+
 # configure a package that has an autoconf-style configure
 # script.
 configure-%/configure:
@@ -928,7 +930,7 @@
 
 #################### TEST RULES ####################
 
-TEST_TARGET ?= test
+TEST_TARGET ?= check
 
 # Run tests on pre-built sources
 test-%/Makefile:

Modified: csw/mgar/gar/v2-defaultchange/gar.mk
===================================================================
--- csw/mgar/gar/v2-defaultchange/gar.mk	2011-03-21 12:53:02 UTC (rev 13902)
+++ csw/mgar/gar/v2-defaultchange/gar.mk	2011-03-21 13:24:56 UTC (rev 13903)
@@ -688,8 +688,8 @@
 # - If there are builds for more than one ISA the destination differs depending on if
 #   the binaries should be executed by isaexec. This is usually bin, sbin and libexec.
 #
-# default:        relocate to ISA subdirs if more than one ISA, use isaexec-wrapper for bin/, etc.
-# NOISAEXEC = 1: ISA_DEFAULT gets installed in bin/..., all others in bin/$ISA/
+# default:       ISA_DEFAULT gets installed in bin/..., all others in bin/$ISA/
+# ISAEXEC = 1:   relocate to ISA subdirs if more than one ISA, use isaexec-wrapper for bin/, etc.
 #
 # Automatic merging is only possible if you have the default modulation "ISA"
 # Otherwise you *must* specify merge scripts for all modulations.
@@ -705,14 +705,14 @@
 MERGE_SCRIPTS_isa-$(ISA_DEFAULT) ?= $(MERGE_SCRIPTS_isa-default)
 MERGE_SCRIPTS_$(MODULATION) ?= $(MERGE_SCRIPTS_$(MODULATION_ISACOLLAPSED))
 else
-ISAEXEC_DIRS ?= $(if $(NOISAEXEC),,$(bindir) $(sbindir) $(libexecdir))
+ISAEXEC_DIRS ?= $(if $(ISAEXEC),$(bindir) $(sbindir) $(libexecdir))
 MERGE_DIRS_isa-default ?= $(EXTRA_MERGE_DIRS) $(EXTRA_MERGE_DIRS_isa-$(ISA_DEFAULT))
-MERGE_DIRS_isa-extra ?= $(bindir) $(sbindir) $(libexecdir) $(libdir) $(EXTRA_MERGE_DIRS) $(EXTRA_MERGE_DIRS_isa-$(ISA))
+MERGE_DIRS_isa-extra ?= $(if $(ISAEXEC),$(bindir) $(sbindir) $(libexecdir)) $(libdir) $(EXTRA_MERGE_DIRS) $(EXTRA_MERGE_DIRS_isa-extra) $(EXTRA_MERGE_DIRS_isa-$(ISA))
 MERGE_DIRS_$(MODULATION_ISACOLLAPSED64) ?= $(MERGE_DIRS_$(MODULATION_ISACOLLAPSEDEXTRA))
 MERGE_DIRS_$(MODULATION) ?= $(MERGE_DIRS_$(MODULATION_ISACOLLAPSED))
 
 MERGE_SCRIPTS_isa-default ?= copy-relocate $(EXTRA_MERGE_SCRIPTS_isa-$(ISA_DEFAULT)) $(EXTRA_MERGE_SCRIPTS)
-MERGE_SCRIPTS_isa-extra ?= copy-relocated-only $(EXTRA_MERGE_SCRIPTS_isa-$(ISA)) $(EXTRA_MERGE_SCRIPTS)
+MERGE_SCRIPTS_isa-extra ?= copy-relocated-only copy-config-only $(EXTRA_MERGE_SCRIPTS_isa-$(ISA)) $(EXTRA_MERGE_SCRIPTS_isa-extra) $(EXTRA_MERGE_SCRIPTS)
 MERGE_SCRIPTS_$(MODULATION_ISACOLLAPSED64) ?= $(MERGE_SCRIPTS_$(MODULATION_ISACOLLAPSEDEXTRA))
 MERGE_SCRIPTS_$(MODULATION) ?= $(MERGE_SCRIPTS_$(MODULATION_ISACOLLAPSED))
 endif

Modified: csw/mgar/gar/v2-defaultchange/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2-defaultchange/gar.pkg.mk	2011-03-21 12:53:02 UTC (rev 13902)
+++ csw/mgar/gar/v2-defaultchange/gar.pkg.mk	2011-03-21 13:24:56 UTC (rev 13903)
@@ -101,7 +101,8 @@
 RUNTIME_DEP_PKGS_$(SRCPACKAGE) ?= $(or $(GARPKG_$(GARSYSTEMVERSION)),$(error GAR version $(GARSYSTEMVERSION) unknown))
 
 # Sanity checks for r8335
-$(if $(NO_ISAEXEC),$(error The deprecated variable 'NO_ISAEXEC' is defined, please replace it with NOISAEXEC))
+$(if $(NO_ISAEXEC),$(error The deprecated variable 'NO_ISAEXEC' is defined, this is now the default, please remove the line))
+$(if $(NOISAEXEC),$(error The deprecated variable 'NOISAEXEC' is defined, this is now the default, please remove the line))
 $(if $(PREREQUISITE_PKGS),$(error The deprecated variable 'PREREQUISITE_PKGS' is defined, please replace it with BUILD_DEP_PKGS))
 $(foreach P,$(SPKG_SPECS),$(if $(PREREQUISITE_PKGS_$P),$(error The deprecated variable 'PREREQUISITE_PKGS_$P' is defined, please replace it with BUILD_DEP_PKGS_$P)))
 $(if $(REQUIRED_PKGS),$(error The deprecated variable 'REQUIRED_PKGS' is defined, please replace it with RUNTIME_DEP_PKGS))
@@ -866,7 +867,7 @@
 # modulations and does not fill global/.
 ENABLE_CHECK ?= 1
 
-# The files in ISAEXEC get relocated and will be replaced by the isaexec-wrapper.
+# The files in ISAEXEC_FILES get relocated and will be replaced by the isaexec-wrapper.
 # The trick is to delay the calculcation of the variable values until that time
 # when PKGROOT has already been populated.
 ISAEXEC_EXCLUDE_FILES ?= $(bindir)/%-config $(bindir)/%/%-config


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