From 758b4b1d1b63cccbdb5f0f14108cdcf8c57d6e72 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sat, 16 Aug 2014 17:55:08 +0000 Subject: [PATCH] Fix build on -current. --- security/ossec-hids-server/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/ossec-hids-server/Makefile b/security/ossec-hids-server/Makefile index 59ab81898f79..a04cdfe481d3 100644 --- a/security/ossec-hids-server/Makefile +++ b/security/ossec-hids-server/Makefile @@ -69,6 +69,9 @@ CONFLICTS= ossec-hids-client-[0-9]* ossec-hids-local-[0-9]* 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)