summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-02-19 22:10:42 +0000
committerjoerg <joerg@pkgsrc.org>2007-02-19 22:10:42 +0000
commited6c26801e3a440f9b7de7f0d611ae843dc3c381 (patch)
tree273cd5c6616330dcb2f345363d87d2614a827e69
parent830ed5641af88edc0eb2bd8ba87563fc500f4ada (diff)
downloadpkgsrc-ed6c26801e3a440f9b7de7f0d611ae843dc3c381.tar.gz
Retire propolice hack on DragonFly as the system compiler was fixed
and the changes pulled up to all release branches.
-rw-r--r--comms/hylafax/hacks.mk18
-rw-r--r--devel/pwlib/hacks.mk18
-rw-r--r--games/enigma/hacks.mk18
-rw-r--r--graphics/Coin/hacks.mk17
-rw-r--r--lang/maude/hacks.mk18
-rw-r--r--multimedia/gnash/hacks.mk18
-rw-r--r--net/amule/hacks.mk18
-rw-r--r--net/gnugk/hacks.mk18
-rw-r--r--net/ktorrent/hacks.mk18
-rw-r--r--net/openh323/hacks.mk18
-rw-r--r--net/socket++/hacks.mk18
-rw-r--r--net/xorp/hacks.mk18
12 files changed, 1 insertions, 214 deletions
diff --git a/comms/hylafax/hacks.mk b/comms/hylafax/hacks.mk
deleted file mode 100644
index 8e87a4a61ba..00000000000
--- a/comms/hylafax/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.2 2006/10/01 14:00:12 rillig 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
diff --git a/devel/pwlib/hacks.mk b/devel/pwlib/hacks.mk
deleted file mode 100644
index 202bac6cea9..00000000000
--- a/devel/pwlib/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/08/26 16:04:10 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
diff --git a/games/enigma/hacks.mk b/games/enigma/hacks.mk
deleted file mode 100644
index 4537a21dd75..00000000000
--- a/games/enigma/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/06/21 13:22:39 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
diff --git a/graphics/Coin/hacks.mk b/graphics/Coin/hacks.mk
index 34a8540a12e..50130401714 100644
--- a/graphics/Coin/hacks.mk
+++ b/graphics/Coin/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2006/05/28 15:50:05 joerg Exp $
+# $NetBSD: hacks.mk,v 1.3 2007/02/19 22:10:43 joerg Exp $
.if !defined(COIN_HACKS_MK)
COIN_HACKS_MK= defined
@@ -13,19 +13,4 @@ PKG_HACKS+= optimization
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
.endif
-.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
-
.endif # COIN_HACKS_MK
diff --git a/lang/maude/hacks.mk b/lang/maude/hacks.mk
deleted file mode 100644
index cda2f6422c1..00000000000
--- a/lang/maude/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/05/02 13:32:30 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
diff --git a/multimedia/gnash/hacks.mk b/multimedia/gnash/hacks.mk
deleted file mode 100644
index aad9d8667ca..00000000000
--- a/multimedia/gnash/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2007/02/15 14:29:54 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
diff --git a/net/amule/hacks.mk b/net/amule/hacks.mk
deleted file mode 100644
index 718bba8a44f..00000000000
--- a/net/amule/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/04/28 20:43:42 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
diff --git a/net/gnugk/hacks.mk b/net/gnugk/hacks.mk
deleted file mode 100644
index 0862243fbda..00000000000
--- a/net/gnugk/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/09/24 20:02:42 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
diff --git a/net/ktorrent/hacks.mk b/net/ktorrent/hacks.mk
deleted file mode 100644
index bd7ef770069..00000000000
--- a/net/ktorrent/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $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
diff --git a/net/openh323/hacks.mk b/net/openh323/hacks.mk
deleted file mode 100644
index 271c4249808..00000000000
--- a/net/openh323/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/09/19 19:29:30 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
diff --git a/net/socket++/hacks.mk b/net/socket++/hacks.mk
deleted file mode 100644
index 7e71cfe6454..00000000000
--- a/net/socket++/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/05/12 07:44:26 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
diff --git a/net/xorp/hacks.mk b/net/xorp/hacks.mk
deleted file mode 100644
index 2722f8fa82d..00000000000
--- a/net/xorp/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/05/09 21:18:49 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