cvs commit: ports/net/asterisk Makefile ports/net/asterisk/files codecnego-patch-Makefile nocodecnego-patch-Makefile patch-Makefile.rules

Maxim Sobolev sobomax at
Sun Aug 17 08:28:30 UTC 2008

sobomax     2008-08-17 08:28:29 UTC

  FreeBSD ports repository

  Modified files:
    net/asterisk         Makefile 
    net/asterisk/files   codecnego-patch-Makefile 
  Added files:
    net/asterisk/files   patch-Makefile.rules 
  Make asterisk respect CFLAGS. This should fix numerous "undefined reference
  to `__sync_xxx'" build errors reported by many people who have CPUTYPE set
  to i686 and similar values in /etc/make.conf. The problem itself is related
  to the fact that asterisk used FreeBSD CFLAGS when probing for gcc
  capabilities during configure phase, while its own CFLAGS during actual
  build. As a result, object code generated by gcc missed those functions.
  Revision  Changes    Path
  1.103     +3 -1      ports/net/asterisk/Makefile
  1.6       +13 -1     ports/net/asterisk/files/codecnego-patch-Makefile
  1.6       +12 -0     ports/net/asterisk/files/nocodecnego-patch-Makefile
  1.1       +21 -0     ports/net/asterisk/files/patch-Makefile.rules (new)

More information about the cvs-all mailing list