aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2002-10-31 10:44:09 +0800
committermax <max@FreeBSD.org>2002-10-31 10:44:09 +0800
commitbaf8d3e210351d7f16784a0a6338a974daef9fc6 (patch)
treed13d537ecdd3c5b9e2f8b53bd0de6fdef9c6530e /net
parentb13893f7f753abcf798a6a1aa09593052804c7d2 (diff)
downloadfreebsd-ports-gnome-baf8d3e210351d7f16784a0a6338a974daef9fc6.tar.gz
freebsd-ports-gnome-baf8d3e210351d7f16784a0a6338a974daef9fc6.tar.zst
freebsd-ports-gnome-baf8d3e210351d7f16784a0a6338a974daef9fc6.zip
Disable the build when there's no libtelnet.
PR: 44035 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'net')
-rw-r--r--net/telnetx/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/telnetx/Makefile b/net/telnetx/Makefile
index cfcb1200adc3..3980c50344fb 100644
--- a/net/telnetx/Makefile
+++ b/net/telnetx/Makefile
@@ -22,6 +22,13 @@ WRKSRC= ${WRKDIR}/telnetx
MAN1= telnetx.1
ALL_TARGET= bsdi
+.if !exists(/usr/lib/libtelnet.a)
+IGNORE= "You need to make libtelnet first, which can be done in /usr/src/lib/libtelnet"
+.if !exists(/usr/src/lib/libtelnet)
+IGNORE+=". Oh dear, you don\'t have the sources installed neither"
+.endif
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/telnet/telnet ${PREFIX}/bin/telnetx
${INSTALL_PROGRAM} ${WRKSRC}/transit/transit ${PREFIX}/bin/transit