[45190] trunk/dports/devel

mcalhoun at macports.org mcalhoun at macports.org
Fri Jan 9 23:57:40 PST 2009


Revision: 45190
          http://trac.macports.org/changeset/45190
Author:   mcalhoun at macports.org
Date:     2009-01-09 23:57:40 -0800 (Fri, 09 Jan 2009)
Log Message:
-----------
glib2 and glib2-devel: glib-mkenums and gtester-report are perl and python scripts respectively.
gtester-report runs as "/usr/bin/env python" so have python dependency bin:python:python_select.
glib-mkenums runs as whichever perl the configure script found so have perl dependency path:bin/perl:perl5.
Fixes #17530 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/devel/glib2/Portfile
    trunk/dports/devel/glib2-devel/Portfile

Modified: trunk/dports/devel/glib2/Portfile
===================================================================
--- trunk/dports/devel/glib2/Portfile	2009-01-10 07:52:07 UTC (rev 45189)
+++ trunk/dports/devel/glib2/Portfile	2009-01-10 07:57:40 UTC (rev 45190)
@@ -42,7 +42,9 @@
 
 depends_lib \
     port:gettext \
-    port:libiconv
+    port:libiconv \
+    path:bin/perl:perl5 \
+    bin:python:python_select
 
 configure.ldflags-append \
     -bind_at_load
@@ -55,9 +57,8 @@
     --enable-static \
     --mandir=${prefix}/share/man
 
-platform puredarwin {
-    depends_run bin:perl:perl5.8
-}
+configure.perl    ${prefix}/bin/perl
+configure.env-append  PERL_PATH=${configure.perl}
 
 post-patch {
     reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c

Modified: trunk/dports/devel/glib2-devel/Portfile
===================================================================
--- trunk/dports/devel/glib2-devel/Portfile	2009-01-10 07:52:07 UTC (rev 45189)
+++ trunk/dports/devel/glib2-devel/Portfile	2009-01-10 07:57:40 UTC (rev 45190)
@@ -43,7 +43,9 @@
 
 depends_lib \
     port:gettext \
-    port:libiconv
+    port:libiconv \
+    path:bin/perl:perl5 \
+    bin:python:python_select
 
 configure.ldflags-append \
     -bind_at_load
@@ -56,9 +58,8 @@
     --enable-static \
     --mandir=${prefix}/share/man
 
-platform puredarwin {
-    depends_run bin:perl:perl5.8
-}
+configure.perl    ${prefix}/bin/perl
+configure.env-append  PERL_PATH=${configure.perl}
 
 post-patch {
     reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090109/9cf00d10/attachment.html>


More information about the macports-changes mailing list