Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-osx
Has anyone else noticed that some variables disappear into the ether
under PREFIX? One example is ebuilds that inherit webapp.eclass,
we've had to add an extra "webapp_read_config" to the
webapp_src_preinst function, otherwise the variables aren't set...
ie:
function webapp_src_preinst ()
{
# create the directories that we need
dodir "${MY_HTDOCSDIR}"
dodir "${MY_HOSTROOTDIR}"
dodir "${MY_CGIBINDIR}"
dodir "${MY_ICONSDIR}"
dodir "${MY_ERRORSDIR}"
dodir "${MY_SQLSCRIPTSDIR}"
dodir "${MY_HOOKSCRIPTSDIR}"
dodir "${MY_SERVERCONFIGDIR}"
}
has to be changed to:
function webapp_src_preinst ()
{
# =-= for some reason, we need to re-source variables
webapp_read_config
# create the directories that we need
dodir "${MY_HTDOCSDIR}"
dodir "${MY_HOSTROOTDIR}"
dodir "${MY_CGIBINDIR}"
dodir "${MY_ICONSDIR}"
dodir "${MY_ERRORSDIR}"
dodir "${MY_SQLSCRIPTSDIR}"
dodir "${MY_HOOKSCRIPTSDIR}"
dodir "${MY_SERVERCONFIGDIR}"
}
--
gentoo-osx@g.o mailing list
|
|