aboutsummaryrefslogtreecommitdiff
path: root/math/arpack++/Makefile
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2008-12-12 14:39:50 +0000
committerStefan Walter <stefan@FreeBSD.org>2008-12-12 14:39:50 +0000
commit3384170f282e73803d3526ffdf02b87c082a9026 (patch)
treeee97a50fa395289aab53cf068de7c9a5969d5832 /math/arpack++/Makefile
parentf4492666f92fc973e1c8af8d6c7ad1555f8825b0 (diff)
which fixes ARPACK++ 1.2 to work with g++ 4.0.2 and above. PR: 121194 Submitted by: "Reed A. Cartwright" <reed@scit.us> Patch by: stefan
Notes
Notes: svn path=/head/; revision=224152
Diffstat (limited to 'math/arpack++/Makefile')
-rw-r--r--math/arpack++/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/math/arpack++/Makefile b/math/arpack++/Makefile
index 56756b32fec1..add99110565c 100644
--- a/math/arpack++/Makefile
+++ b/math/arpack++/Makefile
@@ -7,12 +7,17 @@
PORTNAME= arpack++
PORTVERSION= 1.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= http://www.ime.unicamp.br/%7echico/arpack++/
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+PATCH_SITES= http://reuter.mit.edu/blue/software/ \
+ http://www.gdv.uni-hannover.de/~reuter/software/
+PATCHFILES= arpack++1.2.patch.diff
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= ports@FreeBSD.org
COMMENT= ARPACK++ is an object-oriented version of the ARPACK package
@@ -44,7 +49,8 @@ USE_GMAKE= yes
DOCS= README doc/arpackpp.ps.gz doc/bugs.txt doc/structure.txt
post-patch:
- @${RM} ${WRKSRC}/include/arlutil.h.orig
+ @${FIND} ${WRKSRC}/include -name "*.orig" -delete
+ @${FIND} ${WRKSRC}/examples -name "*.orig" -delete
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/Makefile.inc