pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/grub Disable ProPolice on DragonFly, it break...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4878cad5cec8
branches:  trunk
changeset: 512446:4878cad5cec8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue May 09 18:52:35 2006 +0000

description:
Disable ProPolice on DragonFly, it breaks the linkage of the standalone
modules.

diffstat:

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

diffs (22 lines):

diff -r b5ee2f0958e8 -r 4878cad5cec8 sysutils/grub/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/grub/hacks.mk    Tue May 09 18:52:35 2006 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: hacks.mk,v 1.1 2006/05/09 18:52:35 joerg Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly" && ${PKGSRC_COMPILER} == "gcc"
+#
+# The standalone modules doesn't support propolice.
+#
+.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