Date: Thu, 18 Mar 2004 11:10:56 +0100 From: Oliver Eikemeier <eikemeier@fillmore-labs.com> To: Patrick Dung <patrick_dkt@yahoo.com.hk> Cc: freebsd-ports@freebsd.org Subject: Re: pdftk compiling problems on FreeBSD Message-ID: <405975B0.7080804@fillmore-labs.com> In-Reply-To: <20040318100637.12319.qmail@web41904.mail.yahoo.com> References: <20040318100637.12319.qmail@web41904.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" \;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405975B0.7080804>