Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 05:20:24 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        asami@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   bsd.port.mk patch for perl
Message-ID:  <19981002052024.A2364@nagual.pp.ru>

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



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