[39112] trunk/dports/www/elinks
simon at macports.org
simon at macports.org
Fri Aug 8 06:45:26 PDT 2008
Revision: 39112
http://trac.macosforge.org/projects/macports/changeset/39112
Author: simon at macports.org
Date: 2008-08-08 06:45:25 -0700 (Fri, 08 Aug 2008)
Log Message:
-----------
www/elinks: Added support for perl scripting.
Modified Paths:
--------------
trunk/dports/www/elinks/Portfile
Added Paths:
-----------
trunk/dports/www/elinks/files/
trunk/dports/www/elinks/files/patch-perl.diff
Modified: trunk/dports/www/elinks/Portfile
===================================================================
--- trunk/dports/www/elinks/Portfile 2008-08-08 13:01:39 UTC (rev 39111)
+++ trunk/dports/www/elinks/Portfile 2008-08-08 13:45:25 UTC (rev 39112)
@@ -47,3 +47,11 @@
configure.args-delete --without-lua
configure.args-append --with-lua
}
+
+variant perl description {Build with Perl support} {
+ depends_lib-append path:${prefix}/bin/perl:perl5.8
+
+ patchfiles-append patch-perl.diff
+
+ configure.args-append --with-perl
+}
Added: trunk/dports/www/elinks/files/patch-perl.diff
===================================================================
--- trunk/dports/www/elinks/files/patch-perl.diff (rev 0)
+++ trunk/dports/www/elinks/files/patch-perl.diff 2008-08-08 13:45:25 UTC (rev 39112)
@@ -0,0 +1,15 @@
+Index: src/scripting/perl/core.h
+===================================================================
+--- src/scripting/perl/core.h.orig 2008-06-20 22:19:55.000000000 +0200
++++ src/scripting/perl/core.h 2008-08-08 12:35:25.000000000 +0200
+@@ -6,6 +6,10 @@
+ #include <perl.h>
+ #include <perlapi.h>
+
++/* FIXME: don't know where this macro comes from! */
++#undef LIST_HEAD
++#define LIST_HEAD(x) x *next; x *prev
++
+ struct module;
+
+ extern PerlInterpreter *my_perl;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080808/4d87747a/attachment.html
More information about the macports-changes
mailing list