Hi,

wouldn't it be fine to say sth. like this (these are default-values):

./configure [--root=/] [--prefix=/usr]
make
make install [DESTDIR=/tmp/dist]

Maybe there sould be a configure-flag to switch portage into some
'user'-mode or the like to avoid managing system-packages.
But i suppose this could be done with injecting packages.

I'm already trying to create Makefile.in's and configure.ac,
where these settings are substituted into the portage.py while
installing - this basically works for bin/ and pym/ already.

I've also tried this with the python-dist-utils (setup.py),
but missed support for substituting things in installed files.

Still learning autotools (not make/shell), but i
don't think there is an effort using automake too.

The goal of my untertaking is to install portage on a non-Linux Unix
like HP-UX/AIX/SunOS/Cygwin/other to manage my own set of non-system
packages, using the system-packages (bash,python,...) from the installed
Unix if possible, with finding out the required pathes to be used for
them, like /opt/bash/bin/bash or /usr/local/bin/python or even
/usr/bin/basename

Regards,
  haubi

Nicholas Jones wrote:
USER_CONFIG_PATH        = "/etc/portage"
PORTAGE_BASE_PATH       = "/usr/lib/portage"
MAKE_CONF_FILE          = "/etc/make.conf"
PROFILE_PATH            = "/etc/make.profile"
(from /usr/lib/portage/pym/portage.py)


It's on my list of things to do. /etc/make.profile is the
largest hinderance, as a lot of things expect it to exist.
Iggy started some ROOT changes for the other variables, and
will eventually make their way into portage (in some form).

There is no immediate way to handle those things. You might
try exploiting the recently added 'source' command for
make.conf to override your settings.

--NJ


-- Michael Haubenwallner SALOMON Automation GmbH Forschung & Entwicklung A-8114 Friesach bei Graz T +43 3127 200 308 F +43 3127 200 22 mailto:[EMAIL PROTECTED] http://www.salomon.at No HTML/MIME please, see http://www.linuxmafia.com/faq/Mail/nomime.html

--
[email protected] mailing list



Reply via email to