updating alpine port to new version (as a maintainer)

Scot Hetzel swhetzel at gmail.com
Sat Jan 17 20:18:39 UTC 2015

On Sat, Jan 17, 2015 at 1:48 PM, Marco Beishuizen <mbeis at xs4all.nl> wrote:
> On Sat, 17 Jan 2015, the wise Kurt Jaeger wrote:
>> I normally proceed by moving all non-applying patches into a seperate
>> directory and try if the build works:
>> cd ~/myp/mail/alpine mkdir OLD mv files/patch-alpine__alpine.c OLD/
>> # and retry rm -rf work && make check-plist
>> If the patch is required (but different), one has to dig into the code and
>> find out what needs to change for the code to build.
> After removing 5 patches the make check-plist now hangs at:
> ===>  License APACHE20 accepted by the user
> ===>  Found saved configuration for alpine-2.11_2
> ===>   alpine-2.20 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by alpine-2.20 for building
> ===>  Extracting for alpine-2.20
> => SHA256 Checksum OK for alpine-2.20/alpine-2.20.tar.xz.
> => SHA256 Checksum OK for alpine-2.20/maildir.patch.gz.
> ===>  Patching for alpine-2.20
> ===>  Applying distribution patches for alpine-2.20
> ===>  Applying FreeBSD patches for alpine-2.20
> cp: /home/marco/tmp/alpine/work/alpine-2.20/doc/tech-notes.txt: No such file
> or directory
> *** Error code 1
> The file tech-notes.txt is not in /doc/, but in /doc/tech-notes/. Where can
> I change this?

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}
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


No electrons were maimed while sending this message. Only slightly bruised.

More information about the freebsd-ports mailing list