Question on error: "Makefile", line 24: Need an operator
Danny Pansters
danny at ricin.com
Mon Jan 14 16:56:54 PST 2008
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
>
>
> sjss at elrond 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>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
HTH,
Dan
More information about the freebsd-ports
mailing list