diff options
-rw-r--r-- | x11-fonts/getbdf/Makefile | 5 |
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 |