aboutsummaryrefslogtreecommitdiff
path: root/cad/irsim/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-12-09 18:19:06 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-12-09 18:19:06 +0000
commit843e0e4906fd66c1e094eddf735e8c8e09221cf2 (patch)
tree3b76b0344a8ba81d7e1f8c370959ac8c078fcce9 /cad/irsim/Makefile
parentd38a5b6b8810bfcc3f2fc1334a1eac7cb8ab5627 (diff)
downloadports-843e0e4906fd66c1e094eddf735e8c8e09221cf2.tar.gz
ports-843e0e4906fd66c1e094eddf735e8c8e09221cf2.zip
fix build on CURRENT
bump PORTREVISION
Notes
Notes: svn path=/head/; revision=95483
Diffstat (limited to 'cad/irsim/Makefile')
-rw-r--r--cad/irsim/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile
index 12d08e74608c..28f29f0191a0 100644
--- a/cad/irsim/Makefile
+++ b/cad/irsim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= irsim
PORTVERSION= 9.5
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://mos.stanford.edu/group/magic/
EXTRACT_SUFX= .tar.Z
@@ -15,18 +16,19 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= An event-driven logic-level simulator for MOS circuis
USE_XLIB= yes
+USE_REINPLACE= yes
MAN1= irsim.1
MAN3= irsim-analyzer.3
MAN5= netchange.5
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
# othewise patch will complain
post-extract:
@${FIND} ${WRKSRC} -name RCS | ${XARGS} ${RM} -rf
+post-patch:
+ @${EGREP} -lr '^#endif[^$$]' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\(^#.*endif\).*|\1|g'
+
.include <bsd.port.post.mk>