From owner-freebsd-ports@FreeBSD.ORG Tue Oct 25 09:41:08 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64EF116A41F for ; Tue, 25 Oct 2005 09:41:08 +0000 (GMT) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 026DA43D46 for ; Tue, 25 Oct 2005 09:41:07 +0000 (GMT) (envelope-from gerald@pfeifer.com) Received: from [128.131.111.48] (pulcherrima [128.131.111.48]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 376441378A; Tue, 25 Oct 2005 11:40:55 +0200 (CEST) Date: Tue, 25 Oct 2005 11:40:53 +0200 (CEST) From: Gerald Pfeifer To: Adam McDougall In-Reply-To: <20051024210558.GQ78160@egr.msu.edu> Message-ID: References: <20050919165805.28959.qmail@web54302.mail.yahoo.com> <20051024210558.GQ78160@egr.msu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Patrick Dung , ssteward@AccessPDF.com, Jim Trigg , freebsd-ports@freebsd.org Subject: Re: Request gcc 34 port build gcj X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2005 09:41:08 -0000 On Mon, 24 Oct 2005, Adam McDougall wrote: > I have some good news, I followed your tips with a slight modification > and got pdftk to work with gcj41. For step 3, I made sure > libiconv was installed from ports, and edited > /usr/ports/print/pdftk/work/pdftk-1.12/pdftk/Makefile.Base > to add -L/usr/local/lib to CPPFLAGS: > > CPPFLAGS += -DPDFTK_VER=\"1.12\" -L/usr/local/lib > > The resulting binary seems to work fine, I tried one of the example > operations. > > Do you think these workarounds could be incorporated into the port? That would be most cool! Thanks for investigating, Adam and Patrick! (This also means that we'll have a better chance to support this port on amd64 and other platforms in the future, which would not have been possible with GCC 3.4.) Cheers, Gerald