Fix for -CURRENT, malloc.h->stdlib.h

Spotted by:	Bento
This commit is contained in:
Patrick Li 2002-01-02 04:16:51 +00:00
parent 27d4bf8112
commit b50c44981d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52482
13 changed files with 44 additions and 3 deletions

View file

@ -21,6 +21,9 @@ EXTRACT_ONLY= hc-30.tar.gz
ALL_TARGET= hc b2g g2b
MAN1= hc.1
pre-patch:
@${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c
do-install:
@${MKDIR} ${PREFIX}/share/chinese
${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin

View file

@ -29,6 +29,10 @@ MAKE_ENV= LC_ALL=
MAN1= yudit.1 makeumap.1 stripumap.1 uniconv.1 uniprint.1
USE_GMAKE= YES
pre-patch:
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/src/UFontMap.cpp
post-install:
cd ${PREFIX}/bin/ && strip yudit stripumap uniconv uniprint

View file

@ -17,6 +17,10 @@ LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms
USE_X_PREFIX= yes
pre-patch:
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/list.h
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/share/doc/xmastermind

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -39,6 +39,8 @@ post-patch:
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
post-install:
.if !defined(WITHOUT_PYTHON)

View file

@ -39,6 +39,8 @@ post-patch:
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
post-install:
.if !defined(WITHOUT_PYTHON)

View file

@ -39,6 +39,8 @@ post-patch:
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
post-install:
.if !defined(WITHOUT_PYTHON)

View file

@ -28,6 +28,10 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-with-tk=${LOCALBASE}
MAN1= vic.1
pre-patch:
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
post-install:
strip ${PREFIX}/bin/vic
strip ${PREFIX}/bin/histtolut

View file

@ -28,6 +28,10 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-with-tk=${LOCALBASE}
MAN1= vic.1
pre-patch:
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
post-install:
strip ${PREFIX}/bin/vic
strip ${PREFIX}/bin/histtolut

View file

@ -17,4 +17,7 @@ MAKEFILE= Makefile.no-imake
MAN1= w9wm.1
pre-patch:
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' ${WRKSRC}/client.c
.include <bsd.port.mk>

View file

@ -12,5 +12,7 @@ w9wm brings support for virtual screens (provided you use the second
button, aka middle button to select one virtual screen) as well as for
key bindings (to switch from one window to another).
WWW: http://inferno.cs.univ-paris8.fr/~drieu/w9wm/
- George Reid
greid@ukug.uk.freebsd.org