From 9a79a15045fbfa859aceb096a64a3aeeb58c5e67 Mon Sep 17 00:00:00 2001
From: Pete Fritchman <petef@FreeBSD.org>
Date: Sun, 24 Mar 2002 00:50:13 +0000
Subject: Don't clobber the system strcasestr().

Submitted by:	bento
---
 math/abs/Makefile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'math/abs')

diff --git a/math/abs/Makefile b/math/abs/Makefile
index 0ce4780eedfc..a6018e965aaf 100644
--- a/math/abs/Makefile
+++ b/math/abs/Makefile
@@ -17,6 +17,9 @@ MAINTAINER=	gmarco@giovannelli.it
 USE_XLIB=	yes
 USE_XPM=	yes
 
+post-patch:
+	@${PERL} -pi -e 's,strcasestr,strcasestr_,' ${WRKSRC}/Database/cell.c
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin
 
-- 
cgit v1.2.3