Since the bktr(4) driver does not exist on every FreeBSD platform, this port needs to be restricted to those which are supported:
On Tue, Oct 21, 2003 at 04:29:23PM +0200, Simon Barner wrote: > > >Description: > > Since the bktr(4) driver does not exist on every FreeBSD platform, this > port needs to be restricted to those which are supported: > > >How-To-Repeat: > >Fix: > --- Makefile.orig Tue Oct 21 16:23:34 2003 > +++ Makefile Tue Oct 21 16:25:59 2003 > @@ -36,4 +36,16 @@ > pre-install: > ${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man > > -.include <bsd.port.mk> > +.include <bsd.port.pre.mk> > + > +pre-everything:: > +.if ${OSVERSION} < 500000 > +ONLY_FOR_ARCHS= i386 > +.else > +ONLY_FOR_ARCHS= alpha i386 ia64 > +.endif > + > +pre-install: > + ${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man > + > +.include <bsd.port.post.mk> Looks like something wrong: 2 "pre-install:" targets ? -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \
> Looks like something wrong: 2 "pre-install:" targets ? Oh, sorry. c'n'p mistake. Here is the corrected patch: --- Makefile.orig Tue Oct 21 16:23:34 2003 +++ Makefile Tue Oct 21 16:42:57 2003 @@ -33,7 +33,16 @@ MAKE_FLAGS= -e MAN1= fxtv.1 +.include <bsd.port.pre.mk> + +pre-everything:: +.if ${OSVERSION} < 500000 +ONLY_FOR_ARCHS= i386 +.else +ONLY_FOR_ARCHS= alpha i386 ia64 +.endif + pre-install: ${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man -.include <bsd.port.mk> +.include <bsd.port.post.mk>
State Changed From-To: open->closed Committed, thanks!