Index: GNUmakefile =================================================================== --- GNUmakefile (revision 498) +++ GNUmakefile (revision 499) @@ -1,6 +1,6 @@ ############################################################################## -# $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/apache13/GNUmakefile $ -# $Id: GNUmakefile 1509 2010-01-25 09:03:39Z lonerr $ +# $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/apache13/GNUmakefile $ +# $Id: GNUmakefile 1526 2010-03-29 11:11:10Z ahitrov $ ############################################################################### PORTVERSION = 1.3.41 @@ -8,6 +8,15 @@ MASTER_POST_SITES = http://archive.apache.org/dist/httpd CONFIGURE_ARGS = --prefix=${PREFIX}/apache \ --disable-rule=EXPAT + +OPSYS ?= ${shell uname} +ifeq (${OPSYS},Linux) +CONFIGURE_COMMAND ?= OPTIM="-fgnu89-inline" bash ./configure +else +CONFIGURE_COMMAND ?= OPTIM="-fgnu89-inline" ./configure +endif + + ifndef WITHOUT_REWRITE CONFIGURE_ARGS += --enable-module=rewrite endif