diff options
author | pat <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
commit | 543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch) | |
tree | 09358f3b37255b97a358ba5c645a6ba3d61f221c /graphics | |
parent | e14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff) | |
download | FreeBSD-ports-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip FreeBSD-ports-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz |
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/vertex/Makefile | 4 | ||||
-rw-r--r-- | graphics/xfractint/Makefile | 4 | ||||
-rw-r--r-- | graphics/xmandel/Makefile | 9 |
3 files changed, 14 insertions, 3 deletions
diff --git a/graphics/vertex/Makefile b/graphics/vertex/Makefile index b13febc..e7ae1f3 100644 --- a/graphics/vertex/Makefile +++ b/graphics/vertex/Makefile @@ -30,4 +30,8 @@ INSTALL_TARGET= vertex_install MAN1= ${PORTNAME}.1 +pre-patch: + @${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \ + 's|malloc.h|stdlib.h|' + .include <bsd.port.mk> diff --git a/graphics/xfractint/Makefile b/graphics/xfractint/Makefile index d0b64e1..1b09aa6 100644 --- a/graphics/xfractint/Makefile +++ b/graphics/xfractint/Makefile @@ -19,4 +19,8 @@ USE_XLIB= yes NO_WRKSUBDIR= yes MAN1= xfractint.1 +pre-patch: + @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${PERL} -pi -e \ + 's|malloc.h|stdlib.h|' + .include <bsd.port.mk> diff --git a/graphics/xmandel/Makefile b/graphics/xmandel/Makefile index 0a20fea..402b8c8 100644 --- a/graphics/xmandel/Makefile +++ b/graphics/xmandel/Makefile @@ -9,18 +9,21 @@ PORTNAME= xmandel PORTVERSION= 1.0 CATEGORIES= graphics MASTER_SITES= ftp://ftp.cray.com/src/graphics/xmandel/ -EXTRACT_SUFX= .shar # The README says the location is ftp.cray.com:/usr/ftp/src/graphics/xmandel, # but this has changed apparently. DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .shar -EXTRACT_CMD= sh +MAINTAINER= andreas@marvin.robin.de + +EXTRACT_CMD= ${SH} EXTRACT_BEFORE_ARGS= # empty EXTRACT_AFTER_ARGS= # empty USE_IMAKE= yes NO_WRKSUBDIR= yes MAN1= xmandel.1 -MAINTAINER= andreas@marvin.robin.de +pre-patch: + @${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' ${WRKSRC}/mandel.c .include <bsd.port.mk> |