aboutsummaryrefslogtreecommitdiffstats
path: root/lang/yap/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-08-07 17:58:42 +0800
committerijliao <ijliao@FreeBSD.org>2006-08-07 17:58:42 +0800
commit9e7ca79d718679ef04a8dfe1bec714814e10fdcc (patch)
tree29f8de7dd1e38909b4fc9e970c1e9da2aa7531dd /lang/yap/Makefile
parent3913a60aec2ff6519b04feec80c6d15d903e79b8 (diff)
downloadfreebsd-ports-gnome-9e7ca79d718679ef04a8dfe1bec714814e10fdcc.tar.gz
freebsd-ports-gnome-9e7ca79d718679ef04a8dfe1bec714814e10fdcc.tar.zst
freebsd-ports-gnome-9e7ca79d718679ef04a8dfe1bec714814e10fdcc.zip
fix build on releng_4
Diffstat (limited to 'lang/yap/Makefile')
-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