Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2004 10:05:12 +0100
From:      "A. Nooitgedagt" <a.nooit@12move.nl>
To:        <freebsd-ports@freebsd.org>
Subject:   Pass variable to pkg-install
Message-ID:  <NCEAIDGINCIDIPEKFPHDAEIHDGAA.a.nooit@12move.nl>

next in thread | raw e-mail | index | archive | help
Hello,

How can I pass a variable like "GROUP" from Makefile to pkg-install?
pkg_install needs to do things depending on a variable in Makefile. Is there
something like PINSTALL_SUB like PLIST_SUB?

SCRIPTS_ENV or " MAKE_ENV GROUP=${GROUP} " didn't work (in Makefile)
Neither did " GROUP?=${GROUP} " (in pkg_install; where "?=" doesn't seem to
be allowed.)

Sorry, I'm new to this list.

Aldert



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