Patching php port

Tamar Lea tamarlea at gmail.com
Wed Oct 1 11:02:22 UTC 2008


Hello all

I am trying to install the php 5.2.6 port with thttpd. I have a patch file
to make it compile with version 2.25b, because the standard version only
works with 2.21. The patch works but the files always get overwritten when I
run the build again. How do I do this?

These are the commands I used

cd /usr/ports/lang/php5
make extract
make patch
cd work
patch -p0 < ~/ports/thttpd.diff
vi php-5.2.6/configure # and other checks to see if the patch worked
cd ..
make install

This results in an error in the configure file, which has reverted to the
original. What am I doing wrong?

Thanks for help

Tamar


More information about the freebsd-questions mailing list