patch-libs_pbd_SConscript 880 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-libs_pbd_SConscript,v 1.2 2015/09/28 15:45:25 ajacoutot Exp $
  2. --- libs/pbd/SConscript.orig Sun Dec 2 20:15:35 2012
  3. +++ libs/pbd/SConscript Mon Sep 28 10:48:48 2015
  4. @@ -13,7 +13,7 @@ domain = 'libpbd'
  5. pbd.Append(DOMAIN=domain,MAJOR=4,MINOR=1,MICRO=0)
  6. pbd.Append(CXXFLAGS="-DPACKAGE=\\\"" + domain + "\\\"")
  7. pbd.Append(CXXFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
  8. -pbd.Append(CXXFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")
  9. +pbd.Append(CXXFLAGS="-DSIGCXX_DISABLE_DEPRECATED")
  10. pbd.Append(PACKAGE=domain)
  11. pbd.Append(POTFILE=domain + '.pot')
  12. @@ -57,6 +57,9 @@ if conf.CheckFunc('getmntent'):
  13. if conf.CheckCHeader('execinfo.h'):
  14. conf.env.Append(CXXFLAGS="-DHAVE_EXECINFO")
  15. pbd = conf.Finish()
  16. +
  17. +if libraries.has_key('execinfo'):
  18. + pbd.Merge([libraries['execinfo']])
  19. pbd.Merge ([ libraries['sigc2'],
  20. libraries['boost'],