[65832] trunk/dports/net/libgweather

raimue at macports.org raimue at macports.org
Thu Apr 1 12:02:30 PDT 2010


Revision: 65832
          http://trac.macports.org/changeset/65832
Author:   raimue at macports.org
Date:     2010-04-01 12:02:29 -0700 (Thu, 01 Apr 2010)
Log Message:
-----------
net/libgweather:
Fix build, use tools from py26-* dependencies

Modified Paths:
--------------
    trunk/dports/net/libgweather/Portfile

Added Paths:
-----------
    trunk/dports/net/libgweather/files/
    trunk/dports/net/libgweather/files/patch-python-prefix.diff

Modified: trunk/dports/net/libgweather/Portfile
===================================================================
--- trunk/dports/net/libgweather/Portfile	2010-04-01 15:54:56 UTC (rev 65831)
+++ trunk/dports/net/libgweather/Portfile	2010-04-01 19:02:29 UTC (rev 65832)
@@ -5,7 +5,7 @@
 
 name            libgweather
 version         2.26.2.1
-revision        1
+revision        2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     devans openmaintainer
 categories      net gnome
@@ -34,11 +34,14 @@
                 port:libsoup \
                 port:py26-gtk
 
+patchfiles      patch-python-prefix.diff
+
 configure.args  --disable-schemas-install \
                 --disable-glibtest \
                 --enable-python
 
 configure.python ${prefix}/bin/python2.6
+configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
 
 use_parallel_build  yes
 

Added: trunk/dports/net/libgweather/files/patch-python-prefix.diff
===================================================================
--- trunk/dports/net/libgweather/files/patch-python-prefix.diff	                        (rev 0)
+++ trunk/dports/net/libgweather/files/patch-python-prefix.diff	2010-04-01 19:02:29 UTC (rev 65832)
@@ -0,0 +1,25 @@
+--- python/Makefile.in.orig	2010-04-01 18:22:23.000000000 +0200
++++ python/Makefile.in	2010-04-01 18:23:35.000000000 +0200
+@@ -591,7 +591,7 @@
+ 
+ @BUILD_PYTHON_TRUE at .defs.c:
+ @BUILD_PYTHON_TRUE@	$(QUIET_GEN)(cd $(srcdir)\
+- at BUILD_PYTHON_TRUE@	 && pygtk-codegen-2.0 \
++ at BUILD_PYTHON_TRUE@	 && $(PYTHON_EXEC_PREFIX)/bin/pygtk-codegen-2.0 \
+ @BUILD_PYTHON_TRUE@		--register $(PYGTK_DEFS) \
+ @BUILD_PYTHON_TRUE@		--override $*.override \
+ @BUILD_PYTHON_TRUE@		--prefix py$* $*.defs) > gen-$*.c \
+--- configure.orig	2010-04-01 19:55:49.000000000 +0200
++++ configure	2010-04-01 19:58:15.000000000 +0200
+@@ -16507,9 +16507,9 @@
+ 
+ 
+ 
+-  PYTHON_PREFIX='${prefix}'
++  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+ 
+-  PYTHON_EXEC_PREFIX='${exec_prefix}'
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+ 
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100401/17812779/attachment-0001.html>


More information about the macports-changes mailing list