diff options
author | max <max@FreeBSD.org> | 2002-10-31 10:44:09 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2002-10-31 10:44:09 +0800 |
commit | baf8d3e210351d7f16784a0a6338a974daef9fc6 (patch) | |
tree | d13d537ecdd3c5b9e2f8b53bd0de6fdef9c6530e /net | |
parent | b13893f7f753abcf798a6a1aa09593052804c7d2 (diff) | |
download | freebsd-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/Makefile | 7 |
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 |