From owner-freebsd-ports Thu Oct 1 18:20:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07722 for freebsd-ports-outgoing; Thu, 1 Oct 1998 18:20:47 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from nagual.pp.ru (lsd.relcom.eu.net [193.125.27.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07713; Thu, 1 Oct 1998 18:20:43 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.1/8.9.1) id FAA02862; Fri, 2 Oct 1998 05:20:25 +0400 (MSD) (envelope-from ache) Message-ID: <19981002052024.A2364@nagual.pp.ru> Date: Fri, 2 Oct 1998 05:20:24 +0400 From: "Andrey A. Chernov" To: asami@FreeBSD.ORG, ports@FreeBSD.ORG Subject: bsd.port.mk patch for perl Mail-Followup-To: asami@freebsd.org, ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Organization: Biomechanoid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The big problem is that after every minor perl5 update (like v...02 -> v...03) every port which have #!${PERL5} sed-substituted in the perl script should be reinstalled! *** bsd.port.mk.orig Thu Sep 24 03:06:18 1998 --- bsd.port.mk Fri Oct 2 05:16:52 1998 *************** *** 521,529 **** @${ECHO_MSG} "Error: you don't have the right version of perl in /usr/bin." @${FALSE} .endif ! PERL5= /usr/bin/perl${PERL_VERSION} .else ! PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} .if defined(USE_PERL5) BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 RUN_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 --- 521,529 ---- @${ECHO_MSG} "Error: you don't have the right version of perl in /usr/bin." @${FALSE} .endif ! PERL5= /usr/bin/perl5 .else ! PERL5= ${LOCALBASE}/bin/perl5 .if defined(USE_PERL5) BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 RUN_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message