diff options
author | oliver <oliver@FreeBSD.org> | 2003-12-10 00:20:31 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-12-10 00:20:31 +0800 |
commit | c23655dc2fcaffbcf6072510a30e42682671a43f (patch) | |
tree | 976e31400c283c8a06491c77d799e320bc081f57 /cad/magic/Makefile | |
parent | 0b4b9597e23a87022a23f383bdd448d840cb67b7 (diff) | |
download | freebsd-ports-gnome-c23655dc2fcaffbcf6072510a30e42682671a43f.tar.gz freebsd-ports-gnome-c23655dc2fcaffbcf6072510a30e42682671a43f.tar.zst freebsd-ports-gnome-c23655dc2fcaffbcf6072510a30e42682671a43f.zip |
unbreak build on CURRENT
bump PORTREVISION
Diffstat (limited to 'cad/magic/Makefile')
-rw-r--r-- | cad/magic/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cad/magic/Makefile b/cad/magic/Makefile index bf6c1d42428c..e70b3c9d7d0e 100644 --- a/cad/magic/Makefile +++ b/cad/magic/Makefile @@ -7,6 +7,7 @@ PORTNAME= magic PORTVERSION= 7.1 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://vlsi.cornell.edu/magic/ @@ -28,11 +29,11 @@ MAN8= prleak.8 .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - post-patch: + @${EGREP} -lr '^#endif[^$$]' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ + 's|\(^#endif\).*|\1|g; \ + s|\(^#else\).*|\1|g; \ + s|include.*<varargs\.h>|include <stdarg\.h>|' @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|make |\$$\{MAKE\} |g' |