[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: questions regarding CONFIGURE_STYLE=gnu
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: questions regarding CONFIGURE_STYLE=gnu
- From: rich cannnings <rich_(_at_)_cannings_(_dot_)_org>
- Date: Wed, 2 Apr 2003 17:44:40 -0700
ya, the following take /DESTDIR/... as input:
mozilla/config/make-chromelist.pl
mozilla/config/make-jars.pl
mozilla/config/add-chrome.pl
which is everywhere! I.e.
/usr/bin/perl -I../../../../config ../../../../config/make-jars.pl -f jar -d /MYDESTDIR/usr/local/lib/mozilla-1.3/chrome -s . < ./jar.mn
I looked a little into them, it doesn't look too bad. Otherwise:
grep MY gmake_install2 | grep -v nsinstall \
| grep -v make-chromelist.pl | grep -v make-jars.pl \
| grep -v add-chrome.pl
merely yeilds:
gmake -C nsprpub real_install DESTDIR=/MYDESTDIR libdir=/usr/local/lib/mozilla-1.3 includedir=/usr/local/include/mozilla-1.3/nspr
cp ./_openbsd.cfg /MYDESTDIR/usr/local/include/mozilla-1.3/nspr/prcpucfg.h
rm -f -f /MYDESTDIR/usr/local/lib/mozilla-1.3/libnspr4.a /MYDESTDIR/usr/local/lib/mozilla-1.3/libplds4.a /MYDESTDIR/usr/local/lib/mozilla-1.3/libplc4.a
rm -f -f /MYDESTDIR/usr/local/bin/nspr-config /MYDESTDIR/usr/local/bin/compile-et.pl /MYDESTDIR/usr/local/bin/prerr.properties
gmake -C directory/c-sdk real_install DESTDIR=/MYDESTDIR libdir=/usr/local/lib/mozilla-1.3 includedir=/usr/local/include/mozilla-1.3/ldap
/MYDESTDIR/usr/local/lib/pkgconfig
echo skin,install,select,classic/1.0 >> /MYDESTDIR/usr/local/lib/mozilla-1.3/chrome/installed-chrome.txt
On Wed, Apr 02, 2003 at 05:39:01PM -0700, Peter Valchev wrote:
> > thanks for all the info. (I think) I have tracked down the install
> > problem. It's in ${DISTDIR} in ${_FAKE_SETUP} of bsd.ports.mk. Sound
> > familiar?
> >
> > I did a "gmake -n install TRUEPREFIX=/MYTRUEPREFIX PREFIX=/MYPREFIX
> > DISTDIR=/MYDISTDIR" in mozilla/ to see how they are used and am trying
> > to parse it right now.
>
> Yeah, it probably hardcodes DESTDIR somewhere, which it shouldn't.
> That's the reason it is working from the fake/ directory, but once you
> install it elsewhere (you essentially move it), it wants the old paths
> and breaks. Which is obviously wrong... the question is to find where
> that happens and fix it.
Visit your host, monkey.org