Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 18:40:48 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: portlint: FATAL: Makefile: [1]: old style headers found.
Message-ID:  <51C1DF10.6090000@FreeBSD.org>
In-Reply-To: <51C18DAF.8080207@madpilot.net>
References:  <201306191050.r5JAo46P071479@mech-cluster241.men.bris.ac.uk> <51C18DAF.8080207@madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



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