pkgsrc-Bugs archive

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

Re: pkg/44257 (comms/asterisk18 fails to build on DragonFly)



On Wed, Dec 22, 2010 at 04:35:01AM +0000, John Nemeth wrote:
> The following reply was made to PR pkg/44257; it has been noted by GNATS.
> 
>       Okay, the build is done and it has been committed.  I didn't
>  bump the PKG_REVISION since there was no binary package to be
>  changed.  If you could test it and let me know how well it works,
>  that would be appreciated.

Great ! Unfortunately, it doesn't build yet:

  [...]
  utils.o: In function `ast_pthread_create_stack':
  /usr/pkgsrc/comms/asterisk18/work/asterisk-1.8.1.1/main/utils.c:1025:
  undefined reference to `pthread_create'
  make[1]: *** [asterisk] Error 1
  gmake: *** [main] Error 2
  *** Error code 2

I think this comes from patch-bg. The new test should look like this:

  +ifeq ($(OSARCH),dragonfly)
  +  AST_LIBS+=-pthread
  +endif

and the code you have committed tests for OpenBSD !!

-- 
Francois Tigeot


Home | Main Index | Thread Index | Old Index