Date: Fri, 18 Oct 2002 17:52:40 +0200 From: Jens Rehsack <rehsack@liwing.de> To: Volker Stolz <vs@lambda.foldr.org> Cc: ports@freebsd.org Subject: Re: Wrangling with dependency on specific perl version Message-ID: <3DB02E48.AE21EFA8@liwing.de> References: <20021018142654.GA61644@lambda.foldr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Volker Stolz wrote: > > Would the following be acceptable to prevent this port > from being built on host like 4.6 which don't have a > required in-tree version of perl? > > ----> > .if ${OSVERSION} < 500007 > BROKEN= "This port requires perl >= 5.006 to build! If you have the required version installed as a port, please manually remove > this warning from the Makefile" > .endif > <---- > > Somehow I didn't manage to write a test based on > PERL_VER[SION]. I figured that BROKEN is better than > IGNORE because the user gets instant feedback. Hi Volker, What's the problem with PERL_VER? AFAIK you can either write a line PERL_VER=5.6.1 in your /etc/make.conf or you simply require the right perl executeable in your port Makefile. You can support some switches like -DWITH_PERL56 -DWITH_PERL58, etc. in your Makefile. Bye, Jens > Please cc replies! > -- > "Gemischte Materialien // Früher: Restmüll" > Aufschrift auf einem Container, Informatik-Parkplatz > http://lambda.foldr.org/~vs/ * PGP * S/MIME > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: <rehsack@liwing.de> Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ 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?3DB02E48.AE21EFA8>