[csw-devel] SF.net SVN: gar:[3022] csw/mgar/pkg/nginx/trunk/Makefile

aigoshin at users.sourceforge.net aigoshin at users.sourceforge.net
Mon Feb 9 01:30:58 CET 2009


Revision: 3022
          http://gar.svn.sourceforge.net/gar/?rev=3022&view=rev
Author:   aigoshin
Date:     2009-02-09 00:30:58 +0000 (Mon, 09 Feb 2009)

Log Message:
-----------
nginx: milestone 3.1

Modified Paths:
--------------
    csw/mgar/pkg/nginx/trunk/Makefile

Modified: csw/mgar/pkg/nginx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nginx/trunk/Makefile	2009-02-08 21:30:23 UTC (rev 3021)
+++ csw/mgar/pkg/nginx/trunk/Makefile	2009-02-09 00:30:58 UTC (rev 3022)
@@ -21,19 +21,11 @@
 EXTRA_BUILD_ISAS_i386  = pentium_pro
 EXTRA_BUILD_ISAS_sparc = sparcv9
 
-ifeq ($(ISA),pentium_pro)
-	NGINXCPU = pentiumpro
-else
-ifeq ($(ISA),sparcv8)
-	NGINXCPU = sparc32
-else
-ifeq ($(ISA),sparcv9)
-	NGINXCPU = sparc64
-else
-	NGINXCPU = $(ISA)
-endif
-endif
-endif
+NGINXCPU_pentium_pro = pentiumpro
+NGINXCPU_sparcv8 = sparc32
+NGINXCPU_sparcv9 = sparc64
+NGINXCPU_$(ISA) ?= $(ISA)
+NGINXCPU = $(NGINXCPU_$(ISA))
 
 CFLAGS =
 


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