Date: Wed, 3 Aug 2005 13:37:13 +0200 (CEST) From: "Xavier Beaudouin" <kiwi@oav.net> To: freebsd-ports@freebsd.org Subject: Troubles with PATCHFILES with port that have several children Message-ID: <44860.212.155.220.106.1123069033.squirrel@webmail.openvisp.net>
next in thread | raw e-mail | index | archive | help
Hi ! I need an advice on modify a port that have several children. Eg PHP. I want to add hardened-php patch, but I have a problem when I try to work on child ports. The problem is that I need to patch the whole tree before WRKSRC value. The patch have to patch -p1 in work/php-4.4.0 (will be the same for php 5.x), and inside a module the WRKSRC is work/php-4.4.0/ext/<module> So my : # Hardened PHP patches PATCH_SITES= http://www.hardened-php.net/ PATCHFILES= hardening-patch-4.4.0-0.3.2.patch.gz PATCH_DIST_STRIP= -p1 in Makefile will never work... To be syntetic the I have to do for modules : - untar tarball - patch with hardened php patch on work/php-4.4.0 - then change WRKSRC to work/php-4.4.0/ext/<themodule> How can I do such work ? Thanks, /Xavier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44860.212.155.220.106.1123069033.squirrel>