Ticket #21188 (closed defect: fixed)
Small Fix to Inkscape Portfile
| Reported by: | royliu@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Port: | inkscape |
Description
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
}
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to devans@…
- Keywords inkscape removed
Note: See
TracTickets for help on using
tickets.

