[csw-devel] SF.net SVN: gar:[3139] csw/mgar/gar/v2/gar.pkg.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Feb 16 22:19:54 CET 2009


Revision: 3139
          http://gar.svn.sourceforge.net/gar/?rev=3139&view=rev
Author:   dmichelsen
Date:     2009-02-16 21:19:54 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
mGAR v2: Enhance OPENCSW_MODE64 to be 32/64/isaexec

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2009-02-16 21:18:34 UTC (rev 3138)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-02-16 21:19:54 UTC (rev 3139)
@@ -330,12 +330,12 @@
 # XXX: It is possible that a package is flagged as /isaexec, even
 # if the isaexec'ed files are in another package created from the Makefile
 define mode64
-$(strip 
+$(shell echo 
   $(if $(MODE64_$(1)),$(MODE64_$(1)), 
-    $(if $(filter 64,$(foreach I,$(NEEDED_ISAS),$(MEMORYMODEL_$I))),
-      64$(if $(abspath $(ISAEXEC_FILES_$*) $(ISAEXEC_FILES)),/isaexec) 
-    ) 
-  )
+    $(if $(filter 32,$(foreach I,$(NEEDED_ISAS),$(MEMORYMODEL_$I))),32) 
+    $(if $(filter 64,$(foreach I,$(NEEDED_ISAS),$(MEMORYMODEL_$I))),64) 
+    $(if $(abspath $(ISAEXEC_FILES_$*) $(ISAEXEC_FILES)),isaexec) 
+  ) | perl -lne 'print join("/", split)'
 )
 endef
 


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