aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-04-22 03:22:47 +0800
committerclement <clement@FreeBSD.org>2004-04-22 03:22:47 +0800
commit490843cd36f5d237c62e6f7aa3162a8e6b8e6353 (patch)
treea8346d9e13b257c05861fca3149ea276e1a046fd /net
parent500ea019e73484d6ba29f9593a6e26a274110b9d (diff)
downloadfreebsd-ports-gnome-490843cd36f5d237c62e6f7aa3162a8e6b8e6353.tar.gz
freebsd-ports-gnome-490843cd36f5d237c62e6f7aa3162a8e6b8e6353.tar.zst
freebsd-ports-gnome-490843cd36f5d237c62e6f7aa3162a8e6b8e6353.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)
Diffstat (limited to 'net')
-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>