Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 10:05:43 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Oliver Lehmann <oliver@FreeBSD.org>, Thierry Thomas <thierry@pompo.net>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/french Makefile ports/french/homard Makefile distinfo pkg-descr pkg-message pkg-plist
Message-ID:  <3F1FAF77.2971.5CA8E5B7@localhost>
In-Reply-To: <200307240548.h6O5mZsc073496@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Jul 2003 at 22:48, Oliver Lehmann wrote:

> oliver      2003/07/23 22:48:35 PDT
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     french               Makefile 
>   Added files:
>     french/homard        Makefile distinfo pkg-descr pkg-message 
>                          pkg-plist 
>   Log:
>   Add homard 5.5, a refinement and de-refinement mesh tool.
>   
>   PR:             54762
>   Submitted by:   Thierry Thomas <thierry@pompo.net>

$ make -V PORTNAME
-s: not found
"Makefile", line 38: warning: " -s" returned non-zero status
homard

I suspect the problem is on line 38:

unames!=${UNAME} -s

Adding this just before it fixes the problem (thanks to stefanf for 
that fix):

.include  <bsd.port.pre.mk>

P.S. Further testing shows that isn't the solution.  Using my 
suggestion breaks something else:

$ make master-sites-all -f /usr/home/dan/ports/french/homard/Makefile 
PORTSDIR=/usr/home/dan/ports
fr-homard-5.5: You cannot include bsd.port[.pre].mk twice

You also have to replace this:
.include <bsd.port.mk>

with: .include  <bsd.port.post.mk>

Sorry for the incorrect information.  Thanks again to stefanf.
-- 
Dan Langille : http://www.langille.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F1FAF77.2971.5CA8E5B7>