aboutsummaryrefslogtreecommitdiff
path: root/net/clusterit
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-01-03 11:02:13 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-01-03 11:02:13 +0000
commite1c6219142d8a5dda91c36f6f4e79218527192fc (patch)
tree9e9794756c64e1d39411ffbf6334cd0719d87e79 /net/clusterit
parent9a732d1a316606388db55689731fd9b293e7e373 (diff)
downloadports-e1c6219142d8a5dda91c36f6f4e79218527192fc.tar.gz
ports-e1c6219142d8a5dda91c36f6f4e79218527192fc.zip
Fix building on -current.
PR: Submitted by: Adam Kranzel <adam@blacktabby.org> Correct LIB_DEPENDS for WITHOUT_X11 case.
Notes
Notes: svn path=/head/; revision=52524
Diffstat (limited to 'net/clusterit')
-rw-r--r--net/clusterit/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/clusterit/Makefile b/net/clusterit/Makefile
index e4e4987ed138..92870736a8b5 100644
--- a/net/clusterit/Makefile
+++ b/net/clusterit/Makefile
@@ -13,8 +13,6 @@ MASTER_SITES= http://www.garbled.net/download/ \
MAINTAINER= demon@FreeBSD.org
-USE_XLIB= yes
-
MAN1= barrier.1 barrierd.1 dsh.1 jsh.1 jsd.1 \
clustersed.1 run.1 seq.1 dshbak.1 pcp.1 pdf.1 prm.1
@@ -28,6 +26,9 @@ USE_XLIB= yes
post-patch:
@find ${WRKSRC} -name Makefile | xargs ${PERL} -pi -e 's#/usr/X11R6#${X11BASE}#g'
+.for file in command.c rvt.c screen.c
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/rvt/${file}
+.endfor
.if defined(WITHOUT_X11)
@${PERL} -pi -e 's#rvt dvt##g' ${WRKSRC}/Makefile
.endif