svn commit: r335521 - head/security/bro

Antoine Brodin antoine at FreeBSD.org
Mon Dec 2 18:07:42 UTC 2013


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>


More information about the svn-ports-head mailing list