[Midnightbsd-cvs] mports [16224] trunk/devel/tevent/files: add missing patches
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Apr 12 20:08:23 EDT 2014
Revision: 16224
http://svnweb.midnightbsd.org/mports/?rev=16224
Author: laffer1
Date: 2014-04-12 20:08:22 -0400 (Sat, 12 Apr 2014)
Log Message:
-----------
add missing patches
Added Paths:
-----------
trunk/devel/tevent/files/patch-buildtools__wafsamba__samba_install.py
trunk/devel/tevent/files/patch-lib__replace__wscript
trunk/devel/tevent/files/patch-wscript
Added: trunk/devel/tevent/files/patch-buildtools__wafsamba__samba_install.py
===================================================================
--- trunk/devel/tevent/files/patch-buildtools__wafsamba__samba_install.py (rev 0)
+++ trunk/devel/tevent/files/patch-buildtools__wafsamba__samba_install.py 2014-04-13 00:08:22 UTC (rev 16224)
@@ -0,0 +1,11 @@
+--- buildtools/wafsamba/samba_install.py.orig 2010-12-21 02:00:02.000000000 +0100
++++ buildtools/wafsamba/samba_install.py 2011-06-21 11:46:28.000000000 +0200
+@@ -109,7 +109,7 @@
+ inst_name = bld.make_libname(t.target)
+ elif self.vnum:
+ vnum_base = self.vnum.split('.')[0]
+- install_name = bld.make_libname(target_name, version=self.vnum)
++ install_name = bld.make_libname(target_name, version=vnum_base)
+ install_link = bld.make_libname(target_name, version=vnum_base)
+ inst_name = bld.make_libname(t.target)
+ if not self.private_library:
Added: trunk/devel/tevent/files/patch-lib__replace__wscript
===================================================================
--- trunk/devel/tevent/files/patch-lib__replace__wscript (rev 0)
+++ trunk/devel/tevent/files/patch-lib__replace__wscript 2014-04-13 00:08:22 UTC (rev 16224)
@@ -0,0 +1,13 @@
+--- lib/replace/wscript.orig 2013-06-30 21:48:11.959883882 +0000
++++ lib/replace/wscript 2013-06-30 21:48:25.639903597 +0000
+@@ -53,8 +53,9 @@
+ conf.ADD_CFLAGS(f)
+ break
+
+- if conf.CHECK_CFLAGS(['-fstack-protector']):
++ if conf.CHECK_CFLAGS(['-fstack-protector']) and conf.CHECK_LDFLAGS(['-fstack-protector']):
+ conf.ADD_CFLAGS('-fstack-protector')
++ conf.ADD_LDFLAGS('-fstack-protector')
+
+ # Try to find the right extra flags for -Werror behaviour
+ for f in ["-Werror", # GCC
Added: trunk/devel/tevent/files/patch-wscript
===================================================================
--- trunk/devel/tevent/files/patch-wscript (rev 0)
+++ trunk/devel/tevent/files/patch-wscript 2014-04-13 00:08:22 UTC (rev 16224)
@@ -0,0 +1,20 @@
+--- wscript.orig 2013-03-02 08:57:47.000000000 +0000
++++ wscript 2013-06-30 06:22:09.109879947 +0000
+@@ -90,7 +90,7 @@
+ SRC += ' tevent_epoll.c'
+
+ if bld.env.standalone_tevent:
+- bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
++ bld.env.PKGCONFIGDIR = '%%PKGCONFIGDIR%%'
+ private_library = False
+ else:
+ private_library = True
+@@ -120,7 +120,7 @@
+ pattern='tevent.py',
+ installdir='python')
+
+- bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'tevent.py', flat=False)
++ bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'tevent.py*', flat=False)
+
+
+ def test(ctx):
More information about the Midnightbsd-cvs
mailing list