aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-24 08:50:13 +0800
committerpetef <petef@FreeBSD.org>2002-03-24 08:50:13 +0800
commit4cd43248a0b94f4b4bb3e40b9d9735596e912962 (patch)
tree36a6ccce2e2b0ea03687df00376529517f6b79e0 /math
parent118b4892656af14a7d0bd224a1d97199349fb5b4 (diff)
downloadfreebsd-ports-gnome-4cd43248a0b94f4b4bb3e40b9d9735596e912962.tar.gz
freebsd-ports-gnome-4cd43248a0b94f4b4bb3e40b9d9735596e912962.tar.zst
freebsd-ports-gnome-4cd43248a0b94f4b4bb3e40b9d9735596e912962.zip
Don't clobber the system strcasestr().
Submitted by: bento
Diffstat (limited to 'math')
-rw-r--r--math/abs/Makefile3
1 files changed, 3 insertions, 0 deletions
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