ports/64317: Update of german/BBBike port
Slaven Rezic
slaven at rezic.de
Tue Mar 16 00:00:35 UTC 2004
The following reply was made to PR ports/64317; it has been noted by GNATS.
From: Slaven Rezic <slaven at rezic.de>
To: Oliver Eikemeier <eikemeier at fillmore-labs.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/64317: Update of german/BBBike port
Date: 16 Mar 2004 00:55:05 +0100
Oliver Eikemeier <eikemeier at fillmore-labs.com> writes:
> > .include <bsd.port.mk>
> > +
> > +.if !defined(PERL_VER) || ${PERL_VER} == 5.005
> > +PLIST= ${PKGDIR}/pkg-plist.5005
> > +LOCAL_PERL_ARCH!=${PERL5} -MConfig -e 'print qq{$$Config{archname}}'
> > +.else
> > +LOCAL_PERL_ARCH!=${PERL5} -MConfig -e 'print qq{$$Config{version}/$$Config{archname}}'
> > +.endif
>
> please check your port with portlint before submitting
I do (4 warnings, no error).
> - never write anything after bsd.port(.post).mk
I am open to better solutions. Unfortunately I need to pass the
"LOCAL_PERL_ARCH" variable for pkg-plist generation, which in turn
needs the current value of some perl Config variables. PERL5 is only
defined after including bsd.port.mk, so this part had to go after the
include.
> - this will break `make describe' on systems without perl installed
I can skip this part if perl is missing. How to detect this reliably?
By checking the existance of /usr/bin/perl5?
Regards,
Slaven
--
Slaven Rezic - slaven at rezic.de
tknotes - A knotes clone, written in Perl/Tk.
http://ptktools.sourceforge.net/#tknotes
More information about the freebsd-ports-bugs
mailing list