[44615] trunk/dports/graphics/inkscape-devel

devans at macports.org devans at macports.org
Wed Dec 31 01:23:50 PST 2008


Revision: 44615
          http://trac.macports.org/changeset/44615
Author:   devans at macports.org
Date:     2008-12-31 01:23:49 -0800 (Wed, 31 Dec 2008)
Log Message:
-----------
inkscape-devel: revision version to include svn revision and increment epoch, add patch to configure.ac to fix python configuration problem.

Modified Paths:
--------------
    trunk/dports/graphics/inkscape-devel/Portfile

Added Paths:
-----------
    trunk/dports/graphics/inkscape-devel/files/
    trunk/dports/graphics/inkscape-devel/files/patch-configure.ac.diff

Modified: trunk/dports/graphics/inkscape-devel/Portfile
===================================================================
--- trunk/dports/graphics/inkscape-devel/Portfile	2008-12-31 08:51:58 UTC (rev 44614)
+++ trunk/dports/graphics/inkscape-devel/Portfile	2008-12-31 09:23:49 UTC (rev 44615)
@@ -4,8 +4,9 @@
 PortSystem 1.0
 
 name            inkscape-devel
-version         0.46+devel
-revision        20415
+set svn_rev     20415
+version         0.46.${svn_rev}
+epoch           1
 maintainers     devans
 categories      graphics gnome
 platforms       darwin
@@ -24,7 +25,7 @@
 fetch.type      svn
 
 svn.url         http://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk ${worksrcdir}
-svn.tag         ${revision}
+svn.tag         ${svn_rev}
 
 depends_lib     port:boehmgc \
                 port:gnome-vfs \
@@ -43,6 +44,8 @@
                 port:gsl \
                 port:boost 
 
+patchfiles      patch-configure.ac.diff
+
 configure.cmd   {./autogen.sh && ./configure}
 
 configure.args  \

Added: trunk/dports/graphics/inkscape-devel/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/graphics/inkscape-devel/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/graphics/inkscape-devel/files/patch-configure.ac.diff	2008-12-31 09:23:49 UTC (rev 44615)
@@ -0,0 +1,16 @@
+--- configure.ac.orig	2008-12-30 14:16:22.000000000 -0800
++++ configure.ac	2008-12-30 14:18:29.000000000 -0800
+@@ -452,11 +452,11 @@
+             [with_python=$withval], [with_python=skipped])
+ 
+ if test "x$with_python" = "xyes"; then
+-    checkPYTHON_CFLAGS=`python -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`
++    checkPYTHON_CFLAGS=`${prefix}/bin/python2.5 -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`
+     if test "$?" -gt "0"; then
+         with_python="no"
+     else
+-        checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
++        checkPYTHON_LIBS=-lpython2.5
+         if test "$?" -gt "0"; then
+             with_python="no"
+         else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081231/63562ca7/attachment.html>


More information about the macports-changes mailing list