Date: Fri, 26 Nov 2004 05:25:42 GMT From: Patrick Dung <patrick_dkt@yahoo.com.hk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/74400: pdftk 1.12 cannot be built on amd64 with gcc34 Message-ID: <200411260525.iAQ5Pgv2018094@www.freebsd.org> Resent-Message-ID: <200411260530.iAQ5URTR003370@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74400 >Category: ports >Synopsis: pdftk 1.12 cannot be built on amd64 with gcc34 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Nov 26 05:30:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Patrick Dung >Release: FreeBSD 5.3-Release >Organization: N/A >Environment: FreeBSD earth 5.3-RELEASE FreeBSD 5.3-RELEASE #0 >Description: AMD64's gcc34 port does not build gcj. This make pdftk cannot compile on amd64. >How-To-Repeat: N/A >Fix: Use GCC 3.3 instead. Below is the fix. --- Makefile.orig Fri Nov 26 13:19:51 2004 +++ Makefile Fri Nov 26 13:20:13 2004 @@ -16,12 +16,12 @@ COMMENT= A simple tool for doing everyday things with PDF documents # needs gcj -BUILD_DEPENDS= gcj34:${PORTSDIR}/lang/gcc34 +BUILD_DEPENDS= gcj33:${PORTSDIR}/lang/gcc33 # gcj don't exist on NOT_FOR_ARCHS= ia64 sparc64 -USE_GCC= 3.4 +USE_GCC= 3.3 USE_GMAKE= yes USE_ICONV= yes USE_REINPLACE= yes @@ -29,14 +29,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} MAKEFILE= Makefile.Generic -MAKE_ENV= CXX=g++34 GCJ=gcj34 GCJH=gcjh34 +MAKE_ENV= CXX=g++33 GCJ=gcj33 GCJH=gcjh33 MAN1= ${PORTNAME}.1 PLIST_FILES= bin/pdftk post-extract: @${REINPLACE_CMD} -e "s|TOOLPATH=|TOOLPATH=${LOCALBASE}/bin/|g" ${WRKSRC}/Makefile.Generic - @${REINPLACE_CMD} -e "s|VERSUFF=|VERSUFF=34|g" ${WRKSRC}/Makefile.Generic + @${REINPLACE_CMD} -e "s|VERSUFF=|VERSUFF=33|g" ${WRKSRC}/Makefile.Generic @${REINPLACE_CMD} -e "s|CXXFLAGS= -lgcj|CXXFLAGS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Generic do-install: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411260525.iAQ5Pgv2018094>