From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:02:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C635B10656B7 for ; Wed, 1 Oct 2008 11:02:22 +0000 (UTC) (envelope-from tamarlea@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9AEE18FC39 for ; Wed, 1 Oct 2008 11:02:22 +0000 (UTC) (envelope-from tamarlea@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so473134wfg.7 for ; Wed, 01 Oct 2008 04:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=PGOVB6+novmXY3h7XC19Y/gvtxZfpPXfP41lnusRLRA=; b=H+TPfSvNkzwqb1qmLWMBl8c+pUEVsohkVSFtKKT3BZuaRFDZ8xrU4I/FSJjviXAR/p y4VMLB3ktB/8bfF2rld8kuFardB+SXrUpaswtmCU3I9J3I5AA8kA53GWvwJUghhV6MeT vapXzTe01bmh0WZglqteM7e2idBuOKsImBxjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ThfnF9+0R46vfx/NMPM+zWgBcMwgPVx+WtxabNR8q4KJCveybyfeJhzDi3Lf5XDImp IStx5Bk/NW2BUOtaqUksDa97Yr+AhlSjzqL6C2JJ20EFWT62lQO2PgaAcv8dvGheKI/l 4MiaOmOrQXdqwApcxB7veAWRnFYz72Lg+HU20= Received: by 10.142.53.19 with SMTP id b19mr3310198wfa.167.1222857449816; Wed, 01 Oct 2008 03:37:29 -0700 (PDT) Received: by 10.142.14.12 with HTTP; Wed, 1 Oct 2008 03:37:29 -0700 (PDT) Message-ID: <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com> Date: Wed, 1 Oct 2008 11:37:29 +0100 From: "Tamar Lea" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Patching php port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:02:22 -0000 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