[29178] trunk/dports/www/nginx/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 17 00:21:36 PDT 2007


Revision: 29178
          http://trac.macosforge.org/projects/macports/changeset/29178
Author:   boeyms at macports.org
Date:     2007-09-17 00:21:36 -0700 (Mon, 17 Sep 2007)

Log Message:
-----------
nginx: Make nginx actually use configure.*flags

nginx's non-Autoconf configure script does not read *FLAGS environment
variables, instead requiring their contents to passed on the command line.
This patch fixes the failure to do so in previous versions of the nginx
port.

Modified Paths:
--------------
    trunk/dports/www/nginx/Portfile

Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile	2007-09-17 07:21:22 UTC (rev 29177)
+++ trunk/dports/www/nginx/Portfile	2007-09-17 07:21:36 UTC (rev 29178)
@@ -34,6 +34,8 @@
 set pidfile     ${prefix}/var/run/${name}.pid
 
 configure.args-append \
+            --with-cc-opt=\"${configure.cppflags} ${configure.cflags}\" \
+            --with-ld-opt=\"${configure.ldflags}\" \
             --conf-path=${prefix}/etc/${name}/${name}.conf \
             --error-log-path=${prefix}/var/log/${name}/error.log \
             --http-log-path=${prefix}/var/log/${name}/access.log \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070917/ca208f4c/attachment.html


More information about the macports-changes mailing list