summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/bacula/hacks.mk14
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/bacula/hacks.mk b/sysutils/bacula/hacks.mk
index 04c94415455..651fa062ef8 100644
--- a/sysutils/bacula/hacks.mk
+++ b/sysutils/bacula/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2005/12/05 20:50:59 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2005/12/09 19:34:36 tv Exp $
.if !defined(BACULA_HACKS_MK)
BACULA_HACKS_MK= #defined
@@ -7,14 +7,10 @@ BACULA_HACKS_MK= #defined
### with optimizations (-O2) turned on (causes segfaults).
###
.if ${MACHINE_ARCH} == "amd64"
-
-.include "../../mk/compiler.mk"
-
-.if !empty(CC_VERSION:Mgcc-4.0*)
+. include "../../mk/compiler.mk"
+. if !empty(CC_VERSION:Mgcc-4.0*)
PKG_HACKS+= dontoptimze
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
-.endif
-
-.endif
-
+. endif
+. endif
.endif