Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
view files/patch-uwsgiconfig.py @ 11:2d507ba64af4
Patch uwsgiconfig.py to always build verbosely
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 24 Sep 2017 03:04:27 +0200 |
| parents | 4dbd28bdcc60 |
| children | 9086ac6e44fb |
line wrap: on
line source
--- uwsgiconfig.py.orig 2017-03-31 00:11:36.000000000 +0200 +++ uwsgiconfig.py 2017-09-24 03:02:49.672979000 +0200 @@ -91,7 +91,7 @@ report = { 'ucontext': False, } -verbose_build = False +verbose_build = True def print_compilation_output(default_str, verbose_str): if verbose_build: @@ -826,15 +826,6 @@ class uConf(object): self.cflags.append('-DUWSGI_HAS_IFADDRS') report['ifaddrs'] = True - if uwsgi_os in ('FreeBSD', 'OpenBSD'): - if self.has_include('execinfo.h') or os.path.exists('/usr/local/include/execinfo.h'): - if os.path.exists('/usr/local/include/execinfo.h'): - self.cflags.append('-I/usr/local/include') - self.ldflags.append('-L/usr/local/lib') - self.cflags.append('-DUWSGI_HAS_EXECINFO') - self.libs.append('-lexecinfo') - report['execinfo'] = True - if uwsgi_os == 'GNU/kFreeBSD': if self.has_include('execinfo.h'): self.cflags.append('-DUWSGI_HAS_EXECINFO')
