portlint: FATAL: Makefile: [1]: old style headers found.

Matthias Andree mandree at FreeBSD.org
Wed Jun 19 16:40:49 UTC 2013


Am 19.06.2013 12:53, schrieb Guido Falsi:
> On 06/19/13 12:50, Anton Shterenlikht wrote:
>> devel/robodoc/Makefile:
>>
>> # New ports collection makefile for:    robodoc
>> # Date created:                         15 Dec 1999
>> # Whom:                                 Will Andrews
>> <andrews at technologist.com>
>> #
>> # $FreeBSD: branches/RELENG_9_1_0/devel/robodoc/Makefile 300896
>> 2012-07-14 13:54:48Z beat $
>> #
>>
>> portlint version 2.14.3 gives:
>>
>> FATAL: Makefile: [1]: old style headers found.
>>
>> The header seems to be consistent with:
>>
>> http://docs.freebsd.org/doc/9.0-RELEASE/usr/share/doc/freebsd/en_US.ISO8859-1/books/porters-handbook/book.html#PORTING-SAMPLEM
>>
>>
>> What's the problem?
>>
> 
> That's a quite old version of the porter's handbook, please use the
> latest one:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
> 
> At one point the header format has been changed, you can read about the
> change here:
> 
> http://blogs.freebsdish.org/portmgr/2012/09/17/change-to-the-header-in-ports-makefiles-take-two/
> 
> 
> Hope this helps.
> 

There is also a Perl script to convert the header automatically, see
/usr/ports/Tools/scripts/convert-makefile-header.pl


More information about the freebsd-ports mailing list