aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 15:54:29 +0800
committerkris <kris@FreeBSD.org>2002-01-26 15:54:29 +0800
commit76c9c6a7d73825c0ccea14c1e6554634e186e5a7 (patch)
tree03829abcaef7464a8ca39434dd40de329464606c /misc
parent3c630b70f1a07d3dbe73b97c5328a23780bf0664 (diff)
downloadfreebsd-ports-gnome-76c9c6a7d73825c0ccea14c1e6554634e186e5a7.tar.gz
freebsd-ports-gnome-76c9c6a7d73825c0ccea14c1e6554634e186e5a7.tar.zst
freebsd-ports-gnome-76c9c6a7d73825c0ccea14c1e6554634e186e5a7.zip
Fix build on -current
Diffstat (limited to 'misc')
-rw-r--r--misc/astrolog/Makefile4
-rw-r--r--misc/bb/Makefile3
-rw-r--r--misc/colortail/Makefile4
3 files changed, 11 insertions, 0 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index 92523e08ced2..74a7db5ed5a6 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -29,6 +29,10 @@ DIST_SUBDIR= astrolog
ALL_TARGET= astrolog
NO_WRKSUBDIR= yes
+pre-patch:
+ @${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
+ ${WRKSRC}/astrolog.h ${WRKSRC}/placalc.h
+
do-install:
-@${MKDIR} ${PREFIX}/lib/astrolog
cd ${DISTDIR}/${DIST_SUBDIR} && \
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index 49ef42e644e3..e8048ce32b34 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -19,6 +19,9 @@ LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
MAKEFILE= makefile
GNU_CONFIGURE= yes
+pre-patch:
+ ${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
+
pre-build:
@ cd ${WRKSRC}/mikunix; make
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile
index d8ad90f5bc30..b67f34848589 100644
--- a/misc/colortail/Makefile
+++ b/misc/colortail/Makefile
@@ -16,6 +16,10 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
GNU_CONFIGURE= yes
+pre-patch:
+ @${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
+ ${WRKSRC}/CfgFileParser.cc
+
post-install:
@ ${MKDIR} ${PREFIX}/share/colortail
@ ${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${PREFIX}/share/colortail/