1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build on -current.

This commit is contained in:
Adam Weinberger 2014-08-16 17:55:08 +00:00
parent 882b898091
commit 758b4b1d1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365112

View File

@ -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)