Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 16:26:54 +0200
From:      Volker Stolz <vs@lambda.foldr.org>
To:        ports@freebsd.org
Subject:   Wrangling with dependency on specific perl version
Message-ID:  <20021018142654.GA61644@lambda.foldr.org>

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

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




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