diff files/patch-uwsgiconfig.py @ 0:748e69c58ee3 origin

Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
author Franz Glasner <hg@dom66.de>
date Wed, 13 Sep 2017 17:09:22 +0200
parents
children 4dbd28bdcc60
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/files/patch-uwsgiconfig.py	Wed Sep 13 17:09:22 2017 +0200
@@ -0,0 +1,18 @@
+--- uwsgiconfig.py.orig	2015-10-07 04:34:01 UTC
++++ uwsgiconfig.py
+@@ -784,15 +784,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')