From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 26 05:30:27 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B10C516A4CE for ; Fri, 26 Nov 2004 05:30:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7126743D48 for ; Fri, 26 Nov 2004 05:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAQ5URbM003376 for ; Fri, 26 Nov 2004 05:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAQ5URTR003370; Fri, 26 Nov 2004 05:30:27 GMT (envelope-from gnats) Resent-Date: Fri, 26 Nov 2004 05:30:27 GMT Resent-Message-Id: <200411260530.iAQ5URTR003370@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Dung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19A5416A4CE for ; Fri, 26 Nov 2004 05:25:43 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04B2843D54 for ; Fri, 26 Nov 2004 05:25:43 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iAQ5PgGC018100 for ; Fri, 26 Nov 2004 05:25:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iAQ5Pgv2018094; Fri, 26 Nov 2004 05:25:42 GMT (envelope-from nobody) Message-Id: <200411260525.iAQ5Pgv2018094@www.freebsd.org> Date: Fri, 26 Nov 2004 05:25:42 GMT From: Patrick Dung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/74400: pdftk 1.12 cannot be built on amd64 with gcc34 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 05:30:27 -0000 >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: