From owner-freebsd-ports@FreeBSD.ORG Thu Mar 18 02:11:12 2004 Return-Path: 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 5ACFB16A4CE for ; Thu, 18 Mar 2004 02:11:12 -0800 (PST) Received: from postman.arcor.de (newsread1.arcor-online.net [151.189.0.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6FBB43D31 for ; Thu, 18 Mar 2004 02:11:11 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from fillmore.dyndns.org (port-212-202-51-138.reverse.qsc.de [212.202.51.138]) (authenticated bits=0)i2IAB7ck007324 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 18 Mar 2004 11:11:08 +0100 (MET) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.30; FreeBSD) id 1B3uUP-0006Rl-HZ; Thu, 18 Mar 2004 11:11:01 +0100 Message-ID: <405975B0.7080804@fillmore-labs.com> Date: Thu, 18 Mar 2004 11:10:56 +0100 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Patrick Dung References: <20040318100637.12319.qmail@web41904.mail.yahoo.com> In-Reply-To: <20040318100637.12319.qmail@web41904.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: ssteward@AccessPDF.com cc: freebsd-ports@freebsd.org Subject: Re: pdftk compiling problems on FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 10:11:12 -0000 Patrick Dung wrote: > Thank you for helping. > > I am trying your solution. > > But the directory structure is like this: > # ls -l > total 26 > drwxr-xr-x 2 root wheel 512 Mar 8 09:04 debian > drwxr-xr-x 5 root wheel 512 Mar 18 18:03 itext-1.1 > drwxr-xr-x 2 root wheel 512 Mar 18 18:03 pdftk > -rw-r--r-- 1 root wheel 8404 Mar 8 09:05 pdftk.1.manpage.txt > > The problem Makefile is in itext-1.1. > > The post-patch doesn't seem to run recursively inside the itext-1.1. Debug the stuff, I haven't tried it. Try post-patch: ${FIND} ${WRKSRC} -type f -name Makefile ${FIND} ${WRKSRC} -type f -name Makefile | \ ${XARGS} ${REINPLACE_CMD} -Ee "s/[[:<:]]g\+\+/g\1${CXX}/g" \ -e "s/[[:<:]]gc(c|jh?)[[:>:]]/gc\1${CC:S/^gcc//}/g" \;