aboutsummaryrefslogtreecommitdiffstats
path: root/security/bro
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-12-03 02:07:41 +0800
committerantoine <antoine@FreeBSD.org>2013-12-03 02:07:41 +0800
commit42faa410beea909de9815dd2253f8955fe9c5b45 (patch)
tree2dd87b198cb0728c284327f070640c0c99a7c0bb /security/bro
parent451aebf489863b90fa5f55156138cc26ec3bd4bb (diff)
downloadfreebsd-ports-gnome-42faa410beea909de9815dd2253f8955fe9c5b45.tar.gz
freebsd-ports-gnome-42faa410beea909de9815dd2253f8955fe9c5b45.tar.zst
freebsd-ports-gnome-42faa410beea909de9815dd2253f8955fe9c5b45.zip
Fix build on FreeBSD 8 when misc/compat5x is installed
Submitted by: Craig Leres (maintainer)
Diffstat (limited to 'security/bro')
-rw-r--r--security/bro/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/bro/Makefile b/security/bro/Makefile
index c59040751203..65f5e2df6297 100644
--- a/security/bro/Makefile
+++ b/security/bro/Makefile
@@ -55,8 +55,10 @@ OPTIONS_EXCLUDE=NLS DOCS
.include <bsd.port.pre.mk>
# Bro 2.2 requires libmagic >= 5.04
+# Cannot use LIB_DEPENDS since misc/compat5x also installs a libmagic.so.1
.if ${OSVERSION} < 901000
-LIB_DEPENDS+= libmagic.so.1:${PORTSDIR}/sysutils/file
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmagic.so:${PORTSDIR}/sysutils/file
+RUN_DEPENDS+= ${LOCALBASE}/lib/libmagic.so:${PORTSDIR}/sysutils/file
.endif
.include <bsd.port.options.mk>