aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut/Makefile')
-rw-r--r--sysutils/nut/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 80e9cb5c82b1..3783c61bec61 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -116,7 +116,11 @@ PLIST_SUB+= NUT_SNMP="@comment "
.endif
.if !defined(WITHOUT_NEON)
+.if exists(${LOCALBASE}/lib/libneon.so.26)
LIB_DEPENDS+= neon.26:${PORTSDIR}/www/neon26
+.else
+LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28
+.endif
CONFIGURE_ARGS+= --with-neonxml
MAN8+= netxml-ups.8
PLIST_SUB+= NUT_NEON=""