From owner-freebsd-ports@FreeBSD.ORG Sat Jan 17 20:54:55 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01A32CAB for ; Sat, 17 Jan 2015 20:54:54 +0000 (UTC) Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B6B087C for ; Sat, 17 Jan 2015 20:54:54 +0000 (UTC) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud3.xs4all.net with ESMTP id h8ul1p0072iF103018umpM; Sat, 17 Jan 2015 21:54:46 +0100 Received: from localhost (localhost [127.0.0.1]) by yokozuna.lan (8.14.9/8.14.9) with ESMTP id t0HKsiVr035608; Sat, 17 Jan 2015 21:54:44 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sat, 17 Jan 2015 21:54:44 +0100 (CET) From: Marco Beishuizen X-X-Sender: marco@localhost Reply-To: Marco Beishuizen To: Scot Hetzel Subject: Re: updating alpine port to new version (as a maintainer) In-Reply-To: Message-ID: References: <20150117165844.GS44537@home.opsec.eu> <20150117182525.GU44537@home.opsec.eu> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kurt Jaeger , FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2015 20:54:55 -0000 On Sat, 17 Jan 2015, the wise Scot Hetzel wrote: > On line 41 of the current ports Makefile, it shows tech-notes.txt: > > 41 PORTDOCSdoc= brochure.txt tech-notes.txt > > Then on lines 163-164 in the post-install stage it tries to install them: > > 163 .for f in ${PORTDOCSdoc} > 164 ${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR} > 165 .endfor > > Change the PORTDOCSdoc variable to: > > PORTDOCSdoc= brochure.txt tech-notes/tech-notes.txt > > This should install the tech-notes.txt file into the ${DOCSDIR}. > > The other option is to remove tech-notes.txt from PORTDOCSdoc and > added it to PORTDOCShtml. Then update the pkg-plist for the new > location. Thank you too Scot for your help. After adjusting these lines (and also one in line 145) this part seems to work. Now it gives a compile error and a lot of warnings during compiling. The 2 errors are: maildir.c:1720:66: error: too few arguments to function call, expected 2, have 1 if (maildir_canonicalize (test, ref, pat) && (s = sm_read (&sdb))) { ~~~~~~~ ^ maildir.c:1722:30: error: too few arguments to function call, expected 2, have 1 while ((s = sm_read (&sdb)) != NULL); /* until no more subscriptions */ Regards, Marco