- Fix build on i386

Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D3543
This commit is contained in:
Babak Farrokhi 2015-09-02 04:22:41 +00:00
parent 7a95c35f68
commit 34a8e0391e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395820

View File

@ -30,6 +30,8 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
CFLAGS_i386= -march=i586
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/CMakeLists.txt
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \