Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 15:01:51 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc:        ports@FreeBSD.ORG
Subject:   Re: gcc-devel
Message-ID:  <20010522150151.R19376@casimir.physics.purdue.edu>
In-Reply-To: <017e01c0e2fa$499cfb60$931576d8@inethouston.net>; from dwcjr@inethouston.net on Tue, May 22, 2001 at 03:03:36PM -0500
References:  <017e01c0e2fa$499cfb60$931576d8@inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 22, 2001 at 03:03:36PM -0500, David W. Chapman Jr. wrote:
> I'm working on the pkg-plist for gcc-devel, how would I put this in the
> pkg-plist
> 
> ./lib/gcc-lib/i386-portbld-freebsd4.3

change 4.3 to %%OSVER%%

add to Makefile:

PLIST_SUB+=	OSVER=${SOME_MAKE_VAR_WITH_4.3}

How you'd get a string like "4.3" I don't know.  You'd need to do uname
and some sed magic, methinks.

-- 
wca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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