aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-01-03 19:02:13 +0800
committerdemon <demon@FreeBSD.org>2002-01-03 19:02:13 +0800
commita15e68f45f46296f22f4b6e5d0a8345113209cd2 (patch)
treee1d1be58c412e239094b9e45e0e7a0fec875b885 /net
parentafc3785994f6e6dd96e9a4eb70ed3019abdcdd1a (diff)
downloadfreebsd-ports-gnome-a15e68f45f46296f22f4b6e5d0a8345113209cd2.tar.gz
freebsd-ports-gnome-a15e68f45f46296f22f4b6e5d0a8345113209cd2.tar.zst
freebsd-ports-gnome-a15e68f45f46296f22f4b6e5d0a8345113209cd2.zip
Fix building on -current.
PR: Submitted by: Adam Kranzel <adam@blacktabby.org> Correct LIB_DEPENDS for WITHOUT_X11 case.
Diffstat (limited to 'net')
-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