From 5825e74c884898a5e8c28876b8d6c99fc3c1b947 Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Sat, 21 Mar 2009 18:56:07 +0000 Subject: [PATCH] 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) --- databases/xbsql/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/databases/xbsql/Makefile b/databases/xbsql/Makefile index 28527fe952b4..f9a28b23b9f7 100644 --- a/databases/xbsql/Makefile +++ b/databases/xbsql/Makefile @@ -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)