Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 17:55:09 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365112 - head/security/ossec-hids-server
Message-ID:  <201408161755.s7GHt9TF075548@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Aug 16 17:55:08 2014
New Revision: 365112
URL: http://svnweb.freebsd.org/changeset/ports/365112
QAT: https://qat.redports.org/buildarchive/r365112/

Log:
  Fix build on -current.

Modified:
  head/security/ossec-hids-server/Makefile

Modified: head/security/ossec-hids-server/Makefile
==============================================================================
--- head/security/ossec-hids-server/Makefile	Sat Aug 16 17:42:04 2014	(r365111)
+++ head/security/ossec-hids-server/Makefile	Sat Aug 16 17:55:08 2014	(r365112)
@@ -69,6 +69,9 @@ CONFLICTS=	ossec-hids-client-[0-9]* osse
 post-patch:
 	@${REINPLACE_CMD} 's|PREFIX|${PREFIX}/${PORTNAME}|' ${WRKSRC}/src/headers/defs.h
 	@${ECHO} "DIR=\"${STAGEDIR}${PREFIX}/${PORTNAME}\"" > ${WRKSRC}/src/LOCATION
+	@${REINPLACE_CMD} -e 's|-DLUA_USE_LINUX|& ${CPPFLAGS}|' \
+		-e 's|-lreadline|& ${LDFLAGS}|' \
+		${WRKSRC}/src/external/lua-5.2.3/src/Makefile
 
 do-build:
 .if defined(WITH_DB)



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