diff options
Diffstat (limited to 'devel/ElectricFence')
-rw-r--r-- | devel/ElectricFence/Makefile | 6 | ||||
-rw-r--r-- | devel/ElectricFence/files/patch-aa | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/devel/ElectricFence/Makefile b/devel/ElectricFence/Makefile index 4bf554d58725..ac1b1fbe2bc6 100644 --- a/devel/ElectricFence/Makefile +++ b/devel/ElectricFence/Makefile @@ -17,14 +17,12 @@ DISTNAME= ElectricFence-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Debugging malloc() that uses the VM hardware to detect buffer overruns -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64" -BROKEN= "Does not compile on ${MACHINE_ARCH}" -.endif - INSTALLS_SHLIB= yes CFLAGS+= -D__USE_BSD MAN3= efence.3 +MAKE_ARGS= CC="${CC}" + do-install: ${INSTALL_DATA} ${WRKSRC}/libefence.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/libefence.so.0.0 ${PREFIX}/lib/libefence.so.0 diff --git a/devel/ElectricFence/files/patch-aa b/devel/ElectricFence/files/patch-aa index 67852389ffa1..ac63fefe9b1d 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" ++.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64" +CFLAGS+= -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS +.endif +#CFLAGS+= -pthread |