1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Avoid define names that conflict with standard system headers:

T_DIVIDE is defined in machine/trap.h (included from sys/signal.h)

Reported by:	pav (from pointyhat)
This commit is contained in:
Johan van Selst 2009-03-21 18:56:07 +00:00
parent e4c49b72da
commit 5825e74c88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230600

View File

@ -30,6 +30,8 @@ post-patch:
.for mkin in ${LB2FIX}
@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${mkin}
.endfor
@${REINPLACE_CMD} -e "s|T_DIVIDE|&S|" ${WRKSRC}/xbsql/xbsql.y \
${WRKSRC}/xbsql/lex.yy.c
post-install:
.if !defined(NOPORTDOCS)