pdftk compiling problems on FreeBSD

=?big5?q?Patrick=20Dung?= patrick_dkt at yahoo.com.hk
Thu Mar 18 08:52:18 PST 2004


Good news!!
It can compile cleanly, like self compiling in /usr/local/src.
It works like charm.
 
I have used part of your new code. Thank you.
And I added @ inside the post-patch section.
 
I need sometime to do more work:
Test dependency.
Write the list for package installation.
Other cleanup.
Testing... (fetch, builid, install and deinstall)
 
To Sid Steward:
I think there is no need to change gcj/gcjh to marco in every Makefile. (Also save your time.) We can do it in the ports (power of the ports system).
 
Regards
Patrick

Oliver Eikemeier <eikemeier at fillmore-labs.com> wrote:
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" \;

¥²±þ§Þ¡B¶¼ºq¡B¤p¬P¬P...
®öº©¹aÁn  ±¡¤ß³sô
http://ringtone.yahoo.com.hk/


More information about the freebsd-ports mailing list