patch-src_DoConfig 875 B

1234567891011121314151617181920212223242526272829303132333435
  1. $OpenBSD: patch-src_DoConfig,v 1.9 2016/01/31 09:03:50 benoit Exp $
  2. --- src/DoConfig.orig Sat Jan 30 22:15:16 2016
  3. +++ src/DoConfig Sun Jan 31 08:40:55 2016
  4. @@ -14,24 +14,26 @@
  5. %MakeVal = (
  6. -'CXX' => 'g++',
  7. -'CXXFLAGS' => '-g -O2',
  8. +'CXX' => '${CXX}',
  9. +'CXXFLAGS' => '$(CFLAGS)',
  10. 'CXXAUTOFLAGS'=> '',
  11. 'AR' => 'ar',
  12. 'ARFLAGS' => 'ruv',
  13. 'RANLIB' => 'ranlib',
  14. -'LIBTOOL' => 'libtool',
  15. +'LIBTOOL' => '${LIBTOOL}',
  16. 'LDFLAGS' => '',
  17. 'LDLIBS' => '-lm',
  18. 'CPPFLAGS' => '',
  19. -'DEF_PREFIX' => '/usr/local',
  20. +'DEF_PREFIX' => '${LOCALBASE}',
  21. 'PREFIX' => '$(DEF_PREFIX)',
  22. 'LIBDIR' => '$(PREFIX)/lib',
  23. 'INCLUDEDIR' => '$(PREFIX)/include',
  24. 'DOCDIR' => '$(PREFIX)/share/doc',
  25. +
  26. +'LIBntl_VERSION' => '$(LIBntl_VERSION)',
  27. 'GMP_PREFIX' => '$(DEF_PREFIX)',
  28. 'GMP_INCDIR' => '$(GMP_PREFIX)/include',