ports/devel/tevent/files/patch-lib__replace__wscript
Timur I. Bakeyev 69b373d2cb Update relevant ports to the latest release and fix disappeared --prefix
from the bsd.ports.mk.

PR:		180102, 180103, 180136
2013-07-01 02:36:07 +00:00

13 lines
542 B
Text

--- 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