ports/76385: PDFlib generates broken file on amd64.
UEMURA Tetsuya
t_uemura at macome.co.jp
Tue Jan 18 01:10:28 UTC 2005
>Number: 76385
>Category: ports
>Synopsis: PDFlib generates broken file on amd64.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 18 01:10:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: UEMURA Tetsuya
>Release: 5.3-BETA4
>Organization:
MACOME Corp.
>Environment:
FreeBSD uemura2.tries.gr.jp 5.3-BETA4 FreeBSD 5.3-BETA4 #0: Tue Sep 14 21:37:30 JST 2004 uemura at uemura2.tries.gr.jp:/usr/obj/usr/src/sys/UEMURA2 amd64
>Description:
PDFlib-Lite 6.0.1 and also 5.0.4p1 have a knob `--enable-64bit' in ./configure for 64bit build though, ports' Makefile doesn't add this knob while ${ARCH} is amd64. Hence, generated PDF file using libs without `--enable-64bit' on amd64 is broken and can't be opened by Acrobat.
>How-To-Repeat:
Simply make && make install on amd64. Maybe same on other 64bit architectures, too.
>Fix:
Applying patch below against Makefile Rev. 1.38 corrects the problem.
--- Makefile.orig Thu Jan 6 12:31:29 2005
+++ Makefile Mon Jan 17 11:06:34 2005
@@ -25,6 +25,11 @@
--with-py=no \
--with-tcl=no
+.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CONFIGURE_ARGS+=--enable-64bit
+.endif
+
.if defined(WITH_PERL)
USE_PERL5= yes
PLIST_SUB= PERL=""
@@ -51,4 +56,4 @@
${INSTALL_DATA} ${WRKSRC}/doc/pdflib/* ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list