On Monday 14 January 2008 20:56:11 Jim Stapleton wrote:
> I'm trying to build a port for FreeBSD, and I get this error when
> running "Make":
>
> "Makefile", line 24: Need an operator
> make: fatal errors encountered -- cannot continue
>
>
>
> To my knowledge, everything looks good so far. The line in question is:
> do-build:
> (cd ${WRKDIR}/extended_threading/extended_threading/ && \
> echo "import sys; import py_compile; for f in sys.argv:
> py_compile.compile(f)" | python *)
>
>
> Can anyone tell me what I am doing wrong? (operator? huh?)
>
> Thanks,
> -Jim Stapleton
>
>
> [EMAIL PROTECTED] 14:42:07 (2) ~/dev/extended_threading_port > cat Makefile
> # New ports collection makefile for: py-extended_threading
> # Date created: 14 Jan 2008
> # Whom: James Stapleton <user(sjss) host(var [dash] dev
> [dot] net)>
> #
> # $FreeBSD$
> #
>
> PORTNAME= py_extended_threading
> PORTVERSION= 0.2
> CATEGORIES= devel python
> MASTER_SITES+=
> http://www.var-dev.net/programming/python/extended_threading/ \
> http://www.var-dev.com/programming/python/extended_threading/ \
> http://www.var-dev.org/programming/python/extended_threading/ DISTNAME=
> extended_threading-0_2
> EXTRACT_SUFX= .tar.bz2
>
> MAINTAINER= user(sjss) host(var [dash] dev [dot] net)
> COMMENT= a library to extend pythons threading library
>
> USE_PYTHON= 2.3+
>
This usually comes up when you have spaces instead of tabs.
> do-build:
> (cd ${WRKDIR}/extended_threading/extended_threading/ && \
> echo "import sys; import py_compile; for f in sys.argv:
> py_compile.compile(f)" | python *)
BTW, I think python -c "import sys; import py_compile; for f in sys.argv:
py_compile.compile(f)" is nicer than using echo.
> .include <bsd.port.mk>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
HTH,
Dan
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"