From owner-freebsd-questions Wed Mar 27 12:36: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by hub.freebsd.org (Postfix) with ESMTP id C159537B400 for ; Wed, 27 Mar 2002 12:35:58 -0800 (PST) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id 04C25767D; Wed, 27 Mar 2002 14:35:53 -0600 (CST) Message-Id: <5.1.0.14.0.20020327142146.00ae9da0@postoffice.swbell.net> X-Sender: swoneill@postoffice.swbell.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 27 Mar 2002 14:35:52 -0600 To: Roman Neuhauser From: Sean O'Neill Subject: Re: mod_php4_standalone port - someone want to help me clean this thing up? Cc: freebsd-questions@freebsd.org In-Reply-To: <20020327202631.GS389@roman.mobil.cz> References: <5.1.0.14.0.20020327134816.00ac94d0@postoffice.swbell.net> <5.1.0.14.0.20020327134816.00ac94d0@postoffice.swbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 09:26 PM 3/27/2002 +0100, Roman Neuhauser wrote: > Hi Sean, I thought I stated this in my previous reply: such port > already exists in /usr/ports/lang/php4. All it does is compile > /usr/ports/www/mod_php4 with STANDALONE=yes. > Looks like you wasted your time. (Or am I missing something?) Just to make sure I wasn't missing something - I deinstalled my mod_php4 and recompiled it with STANDALONE=yes. This is what happened: 1) /usr/local/bin/php got installed and I think that's it. 2) The pkglist that got put into the pkg DB is the package list for everything EXCEPT /usr/local/bin/php. So the pkg DB is now whacked in respect to mod_php4. There are files for pkg-comment and pkg-plist with ".standalone" extensions but the make/installation process doesn't appear to use them. It is apparent that the pkg-comment.standalone and pkg-plist.standalone files need to be manually moved in place of their respective counter-parts. I went down this new port path because of the following in a previous post of yours on this topic: > as for the double install problem: you can add -DFORCE_PKG_REGISTER > to the make command line, but that'll make it hard for you to remove > the previous install files later: the plist will get overwritten, > listing e. g. /usr/local/bin/php instead of > /usr/local/lib/mod_php4.so (or wherever it is). > > what I'd recommend is copy the port skeleton, and hack the makefile > to create another port (which should be done anyway)... So with your suggestion, and because I didn't want to have the "double install problem", I created the new port. With the new port, the package list for both package is correct in respect to what they installed and don't appear to cause a "double install problem." -- ........................................................ ......... ..- -. .. -..- .-. ..- .-.. . ... ............ .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... Sean O'Neill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message