[22214] trunk/dports/gnome/inkscape

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 21 19:38:11 PST 2007


Revision: 22214
          http://trac.macosforge.org/projects/macports/changeset/22214
Author:   yves at macports.org
Date:     2007-02-21 19:38:11 -0800 (Wed, 21 Feb 2007)

Log Message:
-----------
Enable python and do some cleaning rev++

Modified Paths:
--------------
    trunk/dports/gnome/inkscape/Portfile

Added Paths:
-----------
    trunk/dports/gnome/inkscape/files/patch-configure

Removed Paths:
-------------
    trunk/dports/gnome/inkscape/files/patch-object-edit.cpp

Modified: trunk/dports/gnome/inkscape/Portfile
===================================================================
--- trunk/dports/gnome/inkscape/Portfile	2007-02-22 01:57:09 UTC (rev 22213)
+++ trunk/dports/gnome/inkscape/Portfile	2007-02-22 03:38:11 UTC (rev 22214)
@@ -3,8 +3,8 @@
 PortSystem 1.0
 name		inkscape
 version		0.45
-revision	0
-maintainers	rhwood at macports.org openmaintainer at macports.org
+revision	1
+maintainers	rhwood at macports.org yves at macports.org
 categories	gnome graphics
 platforms	darwin
 homepage	http://www.inkscape.org
@@ -34,9 +34,7 @@
 		port:py-xml \
 		port:libcroco
 
-post-patch {
-	reinplace "s|USE_NLS=yes|USE_NLS=no|g" ${worksrcpath}/configure
-}
+patchfiles	patch-configure
 
 configure.args	\
 	--mandir=${prefix}/share/man \
@@ -48,9 +46,9 @@
 	--enable-lcms \
 	--enable-inkboard
 configure.env \
-	CPPFLAGS="-L${prefix}/lib -I${prefix}/include -no-cpp-precomp" \
-	CFLAGS="-flat_namespace -undefined suppress -L${prefix}/lib" \
+	CPPFLAGS="-I${prefix}/include" \
 	LDFLAGS="-L${prefix}/lib"
+	
 default_variants \
     disable_debugging
 

Added: trunk/dports/gnome/inkscape/files/patch-configure
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-configure	                        (rev 0)
+++ trunk/dports/gnome/inkscape/files/patch-configure	2007-02-22 03:38:11 UTC (rev 22214)
@@ -0,0 +1,11 @@
+--- configure.orig	2007-02-19 22:01:46.000000000 -0500
++++ configure	2007-02-19 22:10:26.000000000 -0500
+@@ -10769,7 +10769,7 @@
+     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="-lpython"
+         if test "$?" -gt "0"; then
+             with_python="no"
+         else

Deleted: trunk/dports/gnome/inkscape/files/patch-object-edit.cpp
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-object-edit.cpp	2007-02-22 01:57:09 UTC (rev 22213)
+++ trunk/dports/gnome/inkscape/files/patch-object-edit.cpp	2007-02-22 03:38:11 UTC (rev 22214)
@@ -1,10 +0,0 @@
---- src/object-edit.cpp.orig Sun Jan 30 21:40:52 2005
-+++ src/object-edit.cpp Sat Apr 9 18:35:02 2005
-@@ -839,7 +839,7 @@
-spiral->rad = rad_new;
-spiral->t0 = pow (r0 / spiral->rad, 1/spiral->exp);
-}
-- if (!std::isfinite(spiral->t0)) spiral->t0 = 0.0;
-+ if (isinf(spiral->t0)) spiral->t0 = 0.0;
-spiral->t0 = CLAMP (spiral->t0, 0.0, 0.999); 
-}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070221/d8c85892/attachment.html


More information about the macports-changes mailing list