mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
This commit is contained in:
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
|
@ -21,6 +21,9 @@ EXTRACT_ONLY= hc-30.tar.gz
|
||||||
ALL_TARGET= hc b2g g2b
|
ALL_TARGET= hc b2g g2b
|
||||||
MAN1= hc.1
|
MAN1= hc.1
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/share/chinese
|
@${MKDIR} ${PREFIX}/share/chinese
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin
|
||||||
|
|
|
@ -29,6 +29,10 @@ MAKE_ENV= LC_ALL=
|
||||||
MAN1= yudit.1 makeumap.1 stripumap.1 uniconv.1 uniprint.1
|
MAN1= yudit.1 makeumap.1 stripumap.1 uniconv.1 uniprint.1
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= YES
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
|
||||||
|
${WRKSRC}/src/UFontMap.cpp
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
cd ${PREFIX}/bin/ && strip yudit stripumap uniconv uniprint
|
cd ${PREFIX}/bin/ && strip yudit stripumap uniconv uniprint
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,10 @@ LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms
|
||||||
|
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
|
||||||
|
${WRKSRC}/list.h
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin
|
||||||
@ ${MKDIR} ${PREFIX}/share/doc/xmastermind
|
@ ${MKDIR} ${PREFIX}/share/doc/xmastermind
|
||||||
|
|
|
@ -30,4 +30,8 @@ INSTALL_TARGET= vertex_install
|
||||||
|
|
||||||
MAN1= ${PORTNAME}.1
|
MAN1= ${PORTNAME}.1
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -19,4 +19,8 @@ USE_XLIB= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
MAN1= xfractint.1
|
MAN1= xfractint.1
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -9,18 +9,21 @@ PORTNAME= xmandel
|
||||||
PORTVERSION= 1.0
|
PORTVERSION= 1.0
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://ftp.cray.com/src/graphics/xmandel/
|
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,
|
# The README says the location is ftp.cray.com:/usr/ftp/src/graphics/xmandel,
|
||||||
# but this has changed apparently.
|
# but this has changed apparently.
|
||||||
DISTNAME= ${PORTNAME}
|
DISTNAME= ${PORTNAME}
|
||||||
|
EXTRACT_SUFX= .shar
|
||||||
|
|
||||||
EXTRACT_CMD= sh
|
MAINTAINER= andreas@marvin.robin.de
|
||||||
|
|
||||||
|
EXTRACT_CMD= ${SH}
|
||||||
EXTRACT_BEFORE_ARGS= # empty
|
EXTRACT_BEFORE_ARGS= # empty
|
||||||
EXTRACT_AFTER_ARGS= # empty
|
EXTRACT_AFTER_ARGS= # empty
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
MAN1= xmandel.1
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -39,6 +39,8 @@ post-patch:
|
||||||
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
|
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
|
||||||
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
|
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
|
||||||
${WRKSRC}/user.make
|
${WRKSRC}/user.make
|
||||||
|
@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(WITHOUT_PYTHON)
|
.if !defined(WITHOUT_PYTHON)
|
||||||
|
|
|
@ -39,6 +39,8 @@ post-patch:
|
||||||
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
|
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
|
||||||
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
|
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
|
||||||
${WRKSRC}/user.make
|
${WRKSRC}/user.make
|
||||||
|
@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(WITHOUT_PYTHON)
|
.if !defined(WITHOUT_PYTHON)
|
||||||
|
|
|
@ -39,6 +39,8 @@ post-patch:
|
||||||
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
|
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
|
||||||
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
|
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
|
||||||
${WRKSRC}/user.make
|
${WRKSRC}/user.make
|
||||||
|
@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(WITHOUT_PYTHON)
|
.if !defined(WITHOUT_PYTHON)
|
||||||
|
|
|
@ -28,6 +28,10 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
|
||||||
-with-tk=${LOCALBASE}
|
-with-tk=${LOCALBASE}
|
||||||
MAN1= vic.1
|
MAN1= vic.1
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
strip ${PREFIX}/bin/vic
|
strip ${PREFIX}/bin/vic
|
||||||
strip ${PREFIX}/bin/histtolut
|
strip ${PREFIX}/bin/histtolut
|
||||||
|
|
|
@ -28,6 +28,10 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
|
||||||
-with-tk=${LOCALBASE}
|
-with-tk=${LOCALBASE}
|
||||||
MAN1= vic.1
|
MAN1= vic.1
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
|
||||||
|
's|malloc.h|stdlib.h|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
strip ${PREFIX}/bin/vic
|
strip ${PREFIX}/bin/vic
|
||||||
strip ${PREFIX}/bin/histtolut
|
strip ${PREFIX}/bin/histtolut
|
||||||
|
|
|
@ -17,4 +17,7 @@ MAKEFILE= Makefile.no-imake
|
||||||
|
|
||||||
MAN1= w9wm.1
|
MAN1= w9wm.1
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' ${WRKSRC}/client.c
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -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
|
button, aka middle button to select one virtual screen) as well as for
|
||||||
key bindings (to switch from one window to another).
|
key bindings (to switch from one window to another).
|
||||||
|
|
||||||
|
WWW: http://inferno.cs.univ-paris8.fr/~drieu/w9wm/
|
||||||
|
|
||||||
- George Reid
|
- George Reid
|
||||||
greid@ukug.uk.freebsd.org
|
greid@ukug.uk.freebsd.org
|
||||||
|
|
Loading…
Add table
Reference in a new issue