On Thu, 21 Jul 2011, Antoine Jacoutot wrote:
> Hi.
>
> pdftk seems broken on macppc. I have no time to look at it right now so
> if anyone is interested...
This should be the diff, but I have no macppc to test it.
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/pdftk/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 20 May 2011 10:09:57 -0000 1.1.1.1
+++ Makefile 21 Jul 2011 08:34:03 -0000
@@ -3,6 +3,7 @@
COMMENT= pdf swiss army knife
VERSION= 1.44
DISTNAME= pdftk-$(VERSION)
+REVISION= 0
EXTRACT_SUFX= -src.zip
CATEGORIES= textproc
@@ -33,7 +34,7 @@ GCJ?= gcj
GCJH?= gcjh
GJAR?= ejar
-CONFIG= $(MACHINE)-unknown-openbsd$(OSREV)
+CONFIG= $(MACHINE_ARCH)-unknown-openbsd$(OSREV)
GCJFLAGS?= ${CXXFLAGS}
CPPFLAGS+= -fdollars-in-identifiers \
-DPATH_DELIM=0x2f \