From owner-freebsd-questions Fri Jul 26 21: 3:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09D8637B400 for ; Fri, 26 Jul 2002 21:03:16 -0700 (PDT) Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 598DF43E4A for ; Fri, 26 Jul 2002 21:03:15 -0700 (PDT) (envelope-from sean@seanoneill.info) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id 00F80763C for ; Fri, 26 Jul 2002 22:44:32 -0500 (CDT) Message-Id: <5.1.0.14.0.20020726222923.00af9830@postoffice.swbell.net> X-Sender: swoneill@postoffice.swbell.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 26 Jul 2002 22:44:31 -0500 To: freebsd-questions@FreeBSD.org From: Sean O'Neill Subject: Question relating to Perl modules and ports that needs them 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 Lets say I've installed several Perl p5 ports into the directory /usr/local/perl-modules/.... by modifying the PREFIX variable just prior to their configuration/installation. Apps that need them work fine because I have the PERL5LIB variable setup to update @INC appropriately. Now, let's say I want upgrade a port (say webmin in this case). I don't want PREFIX predefined before I try to upgrade webmin. I want webmin going to its normal installation area of /usr/local/... Unfortunately, without PREFIX defined the webmin port looks in /usr/local/lib/perl5 for the Perl modules its dependant on - and not in /usr/local/perl-modules/... where the modules are actually installed. I know this has to do with these lines in the Makefile: RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Authen/PAM.pm:${PORTSDIR}/security/p5-Authen-PAM So my question - is there anyway to have webmin still get installed in /usr/local/..... and the make process look for the Perl modules in /usr/local/perl-modules ?? I'm pretty sure /usr/ports/Mk/bsd.port.mk is where $LOCALBASE is being defined but I don't know if there is anything I can do without manually editing the Makefile file. Any thoughts ? -- ........................................................ ......... ..- -. .. -..- .-. ..- .-.. . ... ............ .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... Sean O'Neill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message