From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 2 13:00:26 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 D9A8D16A424 for ; Wed, 2 Nov 2005 13:00:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8989543D45 for ; Wed, 2 Nov 2005 13:00:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA2D0Qk3094864 for ; Wed, 2 Nov 2005 13:00:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA2D0Qkv094863; Wed, 2 Nov 2005 13:00:26 GMT (envelope-from gnats) Date: Wed, 2 Nov 2005 13:00:26 GMT Message-Id: <200511021300.jA2D0Qkv094863@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Michael Joyner Cc: Subject: Re: ports/88377: gcc3.4 does not install gcj causing pdftk to fail X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Joyner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 13:00:27 -0000 The following reply was made to PR ports/88377; it has been noted by GNATS. From: Michael Joyner To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/88377: gcc3.4 does not install gcj causing pdftk to fail Date: Wed, 02 Nov 2005 07:56:42 -0500 This is a multi-part message in MIME format. --------------050204050007060409050100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Marcus Alves Grando wrote: >Dear submitter, > >You forgot patch. Please submit followup. > >Thanks > > Oops! --------------050204050007060409050100 Content-Type: text/plain; name="pdftk.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pdftk.patch" diff -U2 -urN pdftk.orig/Makefile pdftk/Makefile --- pdftk/Makefile Thu Oct 20 16:11:09 2005 +++ pdftk/Makefile Tue Nov 1 21:25:40 2005 @@ -19,7 +19,7 @@ NOT_FOR_ARCHS= amd64 ia64 sparc64 -BROKEN= "Broken dependency" -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2005-09-22 +#BROKEN= "Broken dependency" +#DEPRECATED= ${BROKEN} +#EXPIRATION_DATE=2005-09-22 # Get gcc version suffix without the dot in USE_GCC @@ -29,5 +29,5 @@ BUILD_DEPENDS= gcj${CSUFF}:${PORTSDIR}/lang/gcc${CSUFF} -USE_GCC= 3.4 +USE_GCC= 4.1 USE_GMAKE= yes USE_ICONV= yes @@ -45,5 +45,22 @@ @${REINPLACE_CMD} -e "s|TOOLPATH=|TOOLPATH=${LOCALBASE}/bin/|g" ${WRKSRC}/Makefile.Generic @${REINPLACE_CMD} -e "s|VERSUFF=|VERSUFF=${CSUFF}|g" ${WRKSRC}/Makefile.Generic - @${REINPLACE_CMD} -e "s|CXXFLAGS= -lgcj|CXXFLAGS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Generic + +#2005-10-29 - mjoyner@vbservices.net/mjoyner@ewc.edu +#as shipped, pdftk compiles fine with 3.4 gcj, as we currently only have 4.1 gcj available, +#fix things so that it will compile. (compile tested on 5.4-STABLE) +# +#The resulting binary from using the 4.1 compiler suite has *NOT* been regression tested! +#Based on info found via Google USENET Search: Adam McDougall, Gerald Pfeifer +# + + @${REINPLACE_CMD} -e "s|GCJFLAGS=|GCJFLAGS= -L/usr/local/lib|g" ${WRKSRC}/Makefile.Generic + @${REINPLACE_CMD} -e "s|CXXFLAGS= -lgcj|CXXFLAGS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz -L/usr/local/lib|g" \ + ${WRKSRC}/Makefile.Generic + @${REINPLACE_CMD} -e "s|//SID import com.lowagie.text.ImgRaw;|import com.lowagie.text.ImgRaw;|g" \ + ${WRKSRC}/../java_libs/com/lowagie/text/pdf/codec/PngImage.java + @${REINPLACE_CMD} -e "s|^..java_libs_root./gnu/gcj/convert/convert.a|# x-nay the convert.a|g" ${WRKSRC}/Makefile.Base + @${REINPLACE_CMD} -e "s|^..java_libs_root./gnu_local/java/security/security.a .|$$\(java_libs_root\)/gnu_local/java/security/security.a|g" ${WRKSRC}/Makefile.Base + + do-install: --------------050204050007060409050100--