Subject: Re: CVS commit: pkgsrc/www/ap-php4
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Johnny Lam <jlam@jgrind.org>
List: pkgsrc-changes
Date: 10/19/2001 11:14:06
On Fri, Oct 19, 2001 at 08:54:49AM -0700, Jason R Thorpe wrote:
> On Fri, Oct 19, 2001 at 08:47:22AM -0700, Johnny Lam wrote:
>
> > > Log Message:
> > > 'LDFLAGS+=-Wl,--export-dynamic' doesn't work on Solaris.
> >
> > Hmm...this addition is in a lot of packages. In particular, for the other
> > PHP4 packages, you'll need to make changes to www/php4/Makefile and
> > www/php4/Makefile.module as well.
> >
> > Is there somewhere we could collect all of the caveats for pkgsrc on
> > Zoularis platforms? I see commits to fix things on Solaris, and they're
> > usually made the same small group of hard-working people, but the rest of
> > us could help by doing simple things like the above (wrapping non-working
> > LDFLAGS in an ifdef) as well as other obvious things, if we could just be
> > made aware of them.
>
> -E == --export-dynamic, and is a more portable flag for such.
IIRC, we use --export-dynamic in pkgsrc because it works across ELF and
a.out on NetBSD.
-- Johnny Lam <jlam@jgrind.org>