pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45773 (Can't build ast-ksh from pkgsrc 11q-3)

The following reply was made to PR pkg/45773; it has been noted by GNATS.

From: David Holland <>
Subject: Re: pkg/45773 (Can't build ast-ksh from pkgsrc 11q-3)
Date: Mon, 23 Jul 2012 05:41:07 +0000

  >  I did eventually get this built, mostly thanks to a silly
  >  -D__va_list=va_list,
  >  then removing a bunch of libraries that I don't have or get.  This was very
  >  painful due to the opaque, unusual build.  Does anyone know a better way of
  >  affecting it, other than hacking in a script in place of the cc soft link?
 You can probably set
 Next best is to patch the build system so you can feed in compiler
 flags in the environment, and then add what you need to BUILD_ENV.
  >  For the record, the linker flags I need to remove are -lfsg -ljobs -lsecdb 
  >  ...I suppose the above can be closed, unless any of the above has to do 
  >  pkgsrc rather than upstream.
 and for these,
 should do it.
 pkgsrc shouldn't be causing any of this but it should be able to help
 work around it.
  >  P.S.  I thought perhaps static-ast-ksh might be a little better in
  >  respect to the above, but had completely different problems.  One is
  >  that the Makefile adds in -static, but that's only a gcc flag.  With
  >  HP's compiler, it should be -minshared instead.
 The cc wrapper should probably be taking care of this; if it's not, it
 should be taught to. However, I don't know how.
 At the moment static-ast-ksh doesn't build even on NetBSD so it may
 not be worth trying to fight with it.
 David A. Holland

Home | Main Index | Thread Index | Old Index