aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-21 19:22:47 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-21 19:22:47 +0000
commit5d8c72736f399c33580ea3aef191c9e5135880e4 (patch)
treed1fe7accefb9286d972a6e916070f874296a6077
parent03ecb87a0129d2c17e4e73bd93afd2ad60ab6158 (diff)
downloadports-5d8c72736f399c33580ea3aef191c9e5135880e4.tar.gz
ports-5d8c72736f399c33580ea3aef191c9e5135880e4.zip
- Fix build on 4.x
PR: 65731 [1], 65855 [2] Noticed by: freebsd@exotope.com [1] Submitted by: Yann Berthier <yb@sainte-barbe.org> (maintainer) [2] Approved by: portmgr (marcus)
Notes
Notes: svn path=/head/; revision=107779
-rw-r--r--net/honeyd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/honeyd/Makefile b/net/honeyd/Makefile
index 1a1576953878..a87d11724ddf 100644
--- a/net/honeyd/Makefile
+++ b/net/honeyd/Makefile
@@ -36,6 +36,11 @@ CONFIGURE_ARGS+= --without-python
MAN1= honeydctl.1
MAN8= honeyd.8
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+LIB_DEPENDS+= edit.5:${PORTSDIR}/devel/libedit
+.endif
+
.if !defined(WITH_PYTHON)
pre-everything::
@${ECHO_MSG} "===>"
@@ -57,4 +62,4 @@ post-install:
${DATADIR}/scripts/snmp && \
${INSTALL_SCRIPT} *.pl ${DATADIR}/scripts/snmp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>