aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 10:31:54 +0800
committerkris <kris@FreeBSD.org>2002-03-31 10:31:54 +0800
commit21e216edd75d9779910b787f7084167af0bc73bc (patch)
treedcd9400b61c267d4d44fa864e026af90d834cce7 /x11-fonts
parent57fe103d003d6deaef2d50b7aee5e950d6365000 (diff)
downloadfreebsd-ports-gnome-21e216edd75d9779910b787f7084167af0bc73bc.tar.gz
freebsd-ports-gnome-21e216edd75d9779910b787f7084167af0bc73bc.tar.zst
freebsd-ports-gnome-21e216edd75d9779910b787f7084167af0bc73bc.zip
Remove #include <malloc.h>
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/getbdf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-fonts/getbdf/Makefile b/x11-fonts/getbdf/Makefile
index ca30812ec610..ce2349f49f77 100644
--- a/x11-fonts/getbdf/Makefile
+++ b/x11-fonts/getbdf/Makefile
@@ -18,6 +18,11 @@ USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
ALL_TARGET= getbdf
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/Xargs.c ${WRKSRC}/getbdf.c
+
+
do-install:
cd ${WRKSRC}; \
${INSTALL} -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} getbdf ${PREFIX}/bin