[43253] trunk/dports/devel/opensync

takanori at macports.org takanori at macports.org
Sun Dec 7 11:16:49 PST 2008


Revision: 43253
          http://trac.macports.org/changeset/43253
Author:   takanori at macports.org
Date:     2008-12-07 11:16:48 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
opensync:
* allow building with the latest python25
* closes ticket #17523

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

Added Paths:
-----------
    trunk/dports/devel/opensync/files/
    trunk/dports/devel/opensync/files/patch-configure.diff

Modified: trunk/dports/devel/opensync/Portfile
===================================================================
--- trunk/dports/devel/opensync/Portfile	2008-12-07 16:52:30 UTC (rev 43252)
+++ trunk/dports/devel/opensync/Portfile	2008-12-07 19:16:48 UTC (rev 43253)
@@ -20,6 +20,7 @@
 master_sites    ${homepage}download/releases/${version}/
 use_bzip2       yes
 distname        lib${name}-${version}
+patchfiles      patch-configure.diff
 checksums       md5 f563ce2543312937a9afb4f8445ef932 \
                 sha1 47860a8c6621aa89fbff2af2517787747af7cc30 \
                 rmd160 a1e9715d037a7c474b80d609e6c96a24cbb6692f

Added: trunk/dports/devel/opensync/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/opensync/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/opensync/files/patch-configure.diff	2008-12-07 19:16:48 UTC (rev 43253)
@@ -0,0 +1,17 @@
+--- ./configure.orig	2007-03-27 21:21:55.000000000 +0900
++++ ./configure	2008-12-08 03:59:47.000000000 +0900
+@@ -22040,13 +22040,7 @@
+ 	{ echo "$as_me:$LINENO: checking for Python library path" >&5
+ echo $ECHO_N "checking for Python library path... $ECHO_C" >&6; }
+ 	python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+-	for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
+-		python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
+-		if test -n "$python_path" ; then
+-			break
+-		fi
+-	done
+-	python_path=`echo $python_path | sed "s,/libpython.*$,,"`
++	python_path="$python_path/lib/python$PYTHON_VERSION/config/"
+ 	{ echo "$as_me:$LINENO: result: $python_path" >&5
+ echo "${ECHO_T}$python_path" >&6; }
+ 	if test -z "$python_path" ; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/18ff6121/attachment.html>


More information about the macports-changes mailing list