aboutsummaryrefslogtreecommitdiff
path: root/devel/ElectricFence
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-02-01 01:36:43 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-02-01 01:36:43 +0000
commit3c8a1757cfabb28d374de53f9c451192b053d663 (patch)
treee5302c79d9a715d7a0cd31bfb532d0f013b35514 /devel/ElectricFence
parent20c3ca5ac49cc52f9a7c63cf69ad82affc738815 (diff)
downloadports-3c8a1757cfabb28d374de53f9c451192b053d663.tar.gz
ports-3c8a1757cfabb28d374de53f9c451192b053d663.zip
Fix build on i386 -current.
Notes
Notes: svn path=/head/; revision=154954
Diffstat (limited to 'devel/ElectricFence')
-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 f4b3060c3a65..0462fce5e9cc 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" && ${OSVERSION} < 700003) || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
++.if ${MACHINE_ARCH} == "i386" && ${OSVERSION} < 700003 || (${MACHINE_ARCH} == "amd64" && ${OSVERSION} < 700003) || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
+CFLAGS+= -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
+.endif
+#CFLAGS+= -pthread