Install ctorrent-3.2_1 error, Makefile error?

Nikola Lecic nlecic at EUnet.yu
Thu Sep 6 08:15:29 PDT 2007


[Please keep the list in CC.]

On Thu, 6 Sep 2007 20:38:33 +0800
"Sunry Chen" <sunrychen at gmail.com> wrote:

> On 9/6/07, Nikola Lecic <nlecic at eunet.yu> wrote:
[...]
> > (1) What is the contents of .PLIST.mktmp file? It should be
> >
> >       # cat /usr/ports/net-p2p/ctorrent/work/.PLIST.mktmp
> >       bin/ctorrent
> >       share/doc/ctorrent/README-DNH.TXT
> >       share/doc/ctorrent/UserGuide
> >       @dirrm share/doc/ctorrent
> My output is only:
>        bin/ctorrent

Ok, expected...

> > (2) Do you get the same error installing e.g. devel/avra?
>  No. Not any error installing devel/avra-1.0.1_1.

Ok... Maybe the devel/gtgt and devel/p5-Proc-ProcessTable would be more
informative examples (because of their install commands). Please
include work/.PLIST.mktmp files of both ports.

> > (3) If yes, please try the following test file. Name it BSDmakefile,
> >     and make sure you type real TAB between Third and Fourth.
> >
> > ----------------------BSDmakefile---------------------------
> > A=First Second
> > B=Third   Fourth
> >
> > all:
> > .for i in ${A}
> >     @echo $i
> > .endfor
> > .for i in ${B}
> >     @echo $i
> > .endfor
> > ------------------------------------------------------------
> >
> > Just run 'make'. What is the output? It should be
> >
> >   # make
> >   First
> >   Second
> >   Third
> >   Fourth
> For me, errors:
> [root at www /tmp]# make
> "BSDmakefile", line 6: Need an operator
> "BSDmakefile", line 6: Need an operator
> "BSDmakefile", line 9: Need an operator
> "BSDmakefile", line 9: Need an operator
> make: fatal errors encountered -- cannot continue

This is because the two "@echo" commands must be preceded by TAB, not
by spaces. I apologise, I attached the file.

> [root at www /tmp]# gmake -f BSDmakefile
> BSDmakefile:5: *** missing separator.  Stop

No, BSD make is in question...

(BTW, what is your FreeBSD version?)

Nikola Lečić
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BSDmakefile
Type: application/octet-stream
Size: 103 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070906/1da4ca4a/BSDmakefile.obj


More information about the freebsd-ports mailing list