summaryrefslogtreecommitdiff
path: root/lang/yap
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2006-08-07 09:58:42 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2006-08-07 09:58:42 +0000
commit7b4573d00874cf35c8ce40d42ea9a8440b6fa859 (patch)
tree8565a11ac6002d8fac37b18942f6febf504ebda9 /lang/yap
parent- Mark broken on 4.x (diff)
fix build on releng_4
Notes
Notes: svn path=/head/; revision=169945
Diffstat (limited to 'lang/yap')
-rw-r--r--lang/yap/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index 47303f2b561b..4455b17eefe6 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -11,7 +11,6 @@ PORTVERSION= 5.1.1
PORTREVISION= 0
CATEGORIES= lang
MASTER_SITES= http://www.ncc.up.pt/~vsc/Yap/current/
-MASTER_SITE_SUBDIR= Yap-${PORTVERSION}
DISTNAME= Yap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -36,6 +35,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|VERSION}|VERSION:}|g' ${WRKSRC}/docs/yap.tex
@${REINPLACE_CMD} -e "s,make),${GMAKE})," \
-e "s,make install,${GMAKE} install," ${WRKSRC}/Makefile.in
+ @${GREP} -lR '<malloc\.h>' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
+ -e 's,<malloc\.h>,<stdlib.h>,'
post-build:
cd ${WRKSRC}/docs && makeinfo --no-split yap.tex