aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 02:31:54 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 02:31:54 +0000
commitf730b49af6c1fb6051b174b9319c2fe0ca897cdd (patch)
tree3595d5f1e56398408763ee0a448fffa4f60f519b /x11-fonts
parent009803615e9d0762ada7664bd100f30d0b00bd0a (diff)
downloadports-f730b49af6c1fb6051b174b9319c2fe0ca897cdd.tar.gz
ports-f730b49af6c1fb6051b174b9319c2fe0ca897cdd.zip
Notes
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