Subject: Question re. pkgsrc options
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 10/15/2005 14:50:48
If a package needs not only a binary switch (i.e. is option X switched
on or not) but some value (e.g. a name) should one create a new variable
to be used in mk.conf?
e.g. something like this:
FOOPKG_STRING?= "defaultvalue"
BUILD_DEFS+= FOOPKG_STRING
CONFIGURE_ARGS+= --with-string="${FOOPKG_STRING}"
or is there some better way of accomplishing this?
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz@freenet.de +49 178 8545053