[csw-devel] SF.net SVN: gar:[3021] csw/mgar/pkg/nginx/trunk/Makefile
aigoshin at users.sourceforge.net
aigoshin at users.sourceforge.net
Sun Feb 8 22:30:26 CET 2009
Revision: 3021
http://gar.svn.sourceforge.net/gar/?rev=3021&view=rev
Author: aigoshin
Date: 2009-02-08 21:30:23 +0000 (Sun, 08 Feb 2009)
Log Message:
-----------
nginx: milestone 3
Modified Paths:
--------------
csw/mgar/pkg/nginx/trunk/Makefile
Modified: csw/mgar/pkg/nginx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nginx/trunk/Makefile 2009-02-08 16:27:01 UTC (rev 3020)
+++ csw/mgar/pkg/nginx/trunk/Makefile 2009-02-08 21:30:23 UTC (rev 3021)
@@ -18,11 +18,26 @@
REQUIRED_PKGS = CSWosslrt CSWpcrert CSWzlib
-EXTRA_BUILD_ISAS_i386 = pentium_pro
+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
+
CFLAGS =
-CONFIGURE_ARGS += --with-cpu-opt=$(ISA)
+CONFIGURE_ARGS += --with-cpu-opt=$(NGINXCPU)
CONFIGURE_ARGS += --with-cc-opt="-I$(includedir) -I$(includedir)/openssl"
CONFIGURE_ARGS += --with-ld-opt="$(LDFLAGS)"
CONFIGURE_ARGS += --prefix=$(prefix)/var/nginx
@@ -51,10 +66,6 @@
NGINXDOCS = CHANGES CHANGES.ru LICENSE README
-pre-configure-modulated:
- gsed -i s#pentiumpro#pentium_pro# $(WORKSRC)/auto/cc/sunc
- $(MAKECOOKIE)
-
post-configure-modulated:
gsed -i s#/...ISALIST#/'$$ISALIST'# $(WORKSRC)/objs/ngx_auto_config.h
$(MAKECOOKIE)
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