[32148] trunk/dports/www/nginx
boeyms at macports.org
boeyms at macports.org
Mon Dec 17 20:36:21 PST 2007
Revision: 32148
http://trac.macosforge.org/projects/macports/changeset/32148
Author: boeyms at macports.org
Date: 2007-12-17 20:36:19 -0800 (Mon, 17 Dec 2007)
Log Message:
-----------
nginx: add embedded perl 5 support as variant.
In addition, the patch to auto/install file prevents it from installing a
perllocal.pod file that would conflict with that of other ports.
Modified Paths:
--------------
trunk/dports/www/nginx/Portfile
trunk/dports/www/nginx/files/patch-auto__install.diff
Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile 2007-12-18 04:21:08 UTC (rev 32147)
+++ trunk/dports/www/nginx/Portfile 2007-12-18 04:36:19 UTC (rev 32148)
@@ -102,3 +102,11 @@
variant status description {Add /nginx_status support to the server} {
configure.args-append --with-http_stub_status_module
}
+
+# This variant has been labelled "perl5" so as to allow users to easily stick
+# with perl 5.x once perl 6.x is released; a "perl6" variant will also be added
+# at that time.
+variant perl5 description {Add perl support to the server} {
+ depends_run-append port:perl5.8
+ configure.args-append --with-http_perl_module
+}
Modified: trunk/dports/www/nginx/files/patch-auto__install.diff
===================================================================
--- trunk/dports/www/nginx/files/patch-auto__install.diff 2007-12-18 04:21:08 UTC (rev 32147)
+++ trunk/dports/www/nginx/files/patch-auto__install.diff 2007-12-18 04:36:19 UTC (rev 32148)
@@ -1,5 +1,14 @@
--- auto/install 2006-08-30 10:39:17.000000000 +0000
-+++ auto/install.new 2007-05-12 09:36:11.000000000 +0000
++++ auto/install.new 2007-12-15 02:29:00.000000000 +0000
+@@ -7,7 +7,7 @@
+ cat << END >> $NGX_MAKEFILE
+
+ install_perl_modules:
+- cd $NGX_OBJS/src/http/modules/perl && make install
++ cd $NGX_OBJS/src/http/modules/perl && make pure_install
+ END
+
+ NGX_INSTALL_PERL_MODULES=install_perl_modules
@@ -19,42 +19,44 @@
install: $NGX_OBJS${ngx_dirsep}nginx${ngx_binext} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071217/12bdc1ba/attachment.html
More information about the macports-changes
mailing list