summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/hc/Makefile3
-rw-r--r--editors/yudit/Makefile4
-rw-r--r--games/xmastermind/Makefile4
-rw-r--r--graphics/vertex/Makefile4
-rw-r--r--graphics/xfractint/Makefile4
-rw-r--r--graphics/xmandel/Makefile9
-rw-r--r--math/vtk/Makefile2
-rw-r--r--math/vtk43/Makefile2
-rw-r--r--math/vtk5/Makefile2
-rw-r--r--mbone/vic/Makefile4
-rw-r--r--multimedia/vic/Makefile4
-rw-r--r--x11-wm/w9wm/Makefile3
-rw-r--r--x11-wm/w9wm/pkg-descr2
13 files changed, 44 insertions, 3 deletions
diff --git a/chinese/hc/Makefile b/chinese/hc/Makefile
index a655170..7e737ac 100644
--- a/chinese/hc/Makefile
+++ b/chinese/hc/Makefile
@@ -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
diff --git a/editors/yudit/Makefile b/editors/yudit/Makefile
index a795b78..377fee7 100644
--- a/editors/yudit/Makefile
+++ b/editors/yudit/Makefile
@@ -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
diff --git a/games/xmastermind/Makefile b/games/xmastermind/Makefile
index 75d34d4f..6db089b 100644
--- a/games/xmastermind/Makefile
+++ b/games/xmastermind/Makefile
@@ -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
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>
diff --git a/math/vtk/Makefile b/math/vtk/Makefile
index 157de5d..ee4c6ca 100644
--- a/math/vtk/Makefile
+++ b/math/vtk/Makefile
@@ -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)
diff --git a/math/vtk43/Makefile b/math/vtk43/Makefile
index 157de5d..ee4c6ca 100644
--- a/math/vtk43/Makefile
+++ b/math/vtk43/Makefile
@@ -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)
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index 157de5d..ee4c6ca 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -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)
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile
index 1c142b3..0866c83 100644
--- a/mbone/vic/Makefile
+++ b/mbone/vic/Makefile
@@ -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
diff --git a/multimedia/vic/Makefile b/multimedia/vic/Makefile
index 1c142b3..0866c83 100644
--- a/multimedia/vic/Makefile
+++ b/multimedia/vic/Makefile
@@ -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
diff --git a/x11-wm/w9wm/Makefile b/x11-wm/w9wm/Makefile
index b6d61f6..a1cf984 100644
--- a/x11-wm/w9wm/Makefile
+++ b/x11-wm/w9wm/Makefile
@@ -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>
diff --git a/x11-wm/w9wm/pkg-descr b/x11-wm/w9wm/pkg-descr
index 50d955e..29a0461 100644
--- a/x11-wm/w9wm/pkg-descr
+++ b/x11-wm/w9wm/pkg-descr
@@ -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
OpenPOWER on IntegriCloud