Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 11:37:29 +0100
From:      "Tamar Lea" <tamarlea@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Patching php port
Message-ID:  <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ab57dc80810010337i646141e2hfabf00cf2aae186c>