Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2016 08:20:29 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Jochen Neumeister <joneum@bsdproject.de>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: make makepatch
Message-ID:  <20161027062029.GG51420@home.opsec.eu>
In-Reply-To: <730bd5a8-d6c2-7e8f-5240-b7d4b6209884@bsdproject.de>
References:  <730bd5a8-d6c2-7e8f-5240-b7d4b6209884@bsdproject.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> # portlint
> WARN: /usr/home/joneum/dev/ports/net/wpa_gui/files/patch-wpa_ctrl.c:
> patch was not generated using ``make makepatch''.  It is recommended to
> use ``make makepatch'' when you need to [re-]generate a patch to ensure
> proper patch format.
> 0 fatal errors and 1 warning found.
> 
> okay, i use "make makepatch", and copy the files from
> "work/.makepatch-tmp/archived-patches" to the "/files" folder, and start
> portlint. But, the same.
> 
> what am i doing wrong?

make makepatch places the corrected files into files/ and
the prevision version to work/.makepatch-tmp/archived-patches.

So, I'd suggest:

make patch
make makepatch
mv work work.old
portlint -AC

and if portlint is silent, and all the necessary patches are in files/,
you're done.

-- 
pi@opsec.eu            +49 171 3101372                         4 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161027062029.GG51420>