diff options
Diffstat (limited to 'cad/xcircuit/Makefile')
-rw-r--r-- | cad/xcircuit/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile index 63154b9fe197..f1c1d8bff807 100644 --- a/cad/xcircuit/Makefile +++ b/cad/xcircuit/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xcircuit -PORTVERSION= 2.3.3.b15 +PORTVERSION= 2.3.3.b16 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= http://xcircuit.ece.jhu.edu/archive/ @@ -25,7 +25,9 @@ XMKMF= xmkmf MAN1= xcircuit.1 post-patch: - @find ${WRKSRC} -type f | xargs ${PERL} -pi -e "s|__DARWIN__|__STDC__|g" + @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \ + 's|<malloc.h>|<stdlib.h>|g' + post-install: @${MKDIR} ${PREFIX}/share/examples/xcircuit ${TAR} -C ${WRKSRC}/examples --exclude CVS -cf - . | \ |