From owner-freebsd-ports@FreeBSD.ORG Thu Sep 6 15:15:29 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A540416A418 for ; Thu, 6 Sep 2007 15:15:29 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-2.EUnet.yu (smtpclu-2.eunet.yu [194.247.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3069313C4B5 for ; Thu, 6 Sep 2007 15:15:28 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-223-251.eunet.yu [213.198.223.251]) by smtpclu-2.EUnet.yu (8.13.6/8.13.6) with ESMTP id l86FFNXm025802; Thu, 6 Sep 2007 17:15:23 +0200 Message-Id: <200709061515.l86FFNXm025802@smtpclu-2.EUnet.yu> Date: Thu, 6 Sep 2007 17:15:59 +0200 From: Nikola Lecic To: Nikola Lecic In-Reply-To: <200709060722.l867MsVV024729@smtpclu-7.EUnet.yu> References: <200709060722.l867MsVV024729@smtpclu-7.EUnet.yu> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_otZ+Hq1Nxr/nM5gEhoIShzs" X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: Sunry Chen , freebsd-ports@freebsd.org Subject: Re: Install ctorrent-3.2_1 error, Makefile error? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 15:15:29 -0000 --MP_otZ+Hq1Nxr/nM5gEhoIShzs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline [Please keep the list in CC.] On Thu, 6 Sep 2007 20:38:33 +0800 "Sunry Chen" wrote: > On 9/6/07, Nikola Lecic 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=3DFirst Second > > B=3DThird 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@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@www /tmp]# gmake -f BSDmakefile > BSDmakefile:5: *** missing separator. Stop No, BSD make is in question... (BTW, what is your FreeBSD version?) Nikola Le=C4=8Di=C4=87 --MP_otZ+Hq1Nxr/nM5gEhoIShzs Content-Type: application/octet-stream; name=BSDmakefile Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=BSDmakefile QT1GaXJzdAkJU2Vjb25kCkI9VGhpcmQJRm91cnRoCgphbGw6Ci5mb3IgaSBpbiAke0F9CglAZWNo byAkaQouZW5kZm9yCi5mb3IgaSBpbiAke0J9CglAZWNobyAkaQouZW5kZm9yCg== --MP_otZ+Hq1Nxr/nM5gEhoIShzs--