aboutsummaryrefslogtreecommitdiff
path: root/devel/ElectricFence/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ElectricFence/files/patch-aa')
-rw-r--r--devel/ElectricFence/files/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/ElectricFence/files/patch-aa b/devel/ElectricFence/files/patch-aa
index ac63fefe9b1d..f4b3060c3a65 100644
--- a/devel/ElectricFence/files/patch-aa
+++ b/devel/ElectricFence/files/patch-aa
@@ -6,7 +6,7 @@
-LIBS= -lpthread
+#CFLAGS= -g -DUSE_SEMAPHORE $(PIC)
+CFLAGS+= -g $(PIC)
-+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
++.if ${MACHINE_ARCH} == "i386" || (${MACHINE_ARCH} == "amd64" && ${OSVERSION} < 700003) || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
+CFLAGS+= -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
+.endif
+#CFLAGS+= -pthread