Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 18:07:41 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335521 - head/security/bro
Message-ID:  <201312021807.rB2I7fIa011922@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Dec  2 18:07:41 2013
New Revision: 335521
URL: http://svnweb.freebsd.org/changeset/ports/335521

Log:
  Fix build on FreeBSD 8 when misc/compat5x is installed
  
  Submitted by:	Craig Leres (maintainer)

Modified:
  head/security/bro/Makefile

Modified: head/security/bro/Makefile
==============================================================================
--- head/security/bro/Makefile	Mon Dec  2 17:51:09 2013	(r335520)
+++ head/security/bro/Makefile	Mon Dec  2 18:07:41 2013	(r335521)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312021807.rB2I7fIa011922>