[MacPorts] #21188: Small Fix to Inkscape Portfile

MacPorts noreply at macports.org
Mon Sep 7 15:26:33 PDT 2009


#21188: Small Fix to Inkscape Portfile
--------------------------------+-------------------------------------------
 Reporter:  royliu@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.0                                
 Keywords:  inkscape            |        Port:  inkscape                             
--------------------------------+-------------------------------------------
 It seems that fixes to prevent Poppler Object.h from conflicting with
 Python25 Object.h is not enough. The following extra line is necessary:
 {{{
 --- Portfile.orig       2009-09-07 04:04:04.000000000 -0700
 +++ Portfile    2009-09-07 14:50:41.000000000 -0700
 @@ -85,9 +85,9 @@
  post-patch {
          reinplace "s|\"python-interpreter\", \"python\"|\"python-
 interpreter\", \"python2.5\"|g"
 ${worksrcpath}/src/extension/implementation/script.cpp
          reinplace "s|^#include \"Object.h\"|#include
 \"${prefix}/include/poppler/Object.h\"|"
 ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
 +        reinplace "s|^#include \"Object.h\"|#include
 \"${prefix}/include/poppler/Object.h\"|"
 ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
  }
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21188>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list