pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ktorrent Disable propolice on DragonFly for now.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe19a9b0c79e
branches:  trunk
changeset: 523955:fe19a9b0c79e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jan 15 19:34:43 2007 +0000

description:
Disable propolice on DragonFly for now.

diffstat:

 net/ktorrent/hacks.mk |  18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r e03db126601f -r fe19a9b0c79e net/ktorrent/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ktorrent/hacks.mk     Mon Jan 15 19:34:43 2007 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: hacks.mk,v 1.1 2007/01/15 19:34:43 joerg Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly" && ${PKGSRC_COMPILER} == "gcc"
+#
+# Workaround an ICE in the stack-smashing protection in GCC 3.4.x.
+#
+.if !defined(HAS_PROPOLICE)
+HAS_PROPOLICE!=        ( ${CC} -v 2>&1 | ${GREP} 'propolice' ) 2>/dev/null || echo no
+MAKEVARS+=     HAS_PROPOLICE
+.endif
+
+.if ${HAS_PROPOLICE} != "no"
+CFLAGS+=       -fno-stack-protector
+CXXFLAGS+=     -fno-stack-protector
+.endif
+.endif



Home | Main Index | Thread Index | Old Index