1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix the following error on !x86:

g++8: error: unrecognized command line option '-msse2'; did you mean '-misel'?

PR:		236692
Submitted by:	Piotr Kubaj
Approved by:	maintainer
This commit is contained in:
Mark Linimon 2019-03-21 11:04:55 +00:00
parent d59a2a3337
commit 9c1f0ec512
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496442

View File

@ -26,6 +26,13 @@ MAKE_ARGS= debug=0 werror=0
DESKTOP_ENTRIES="Goxel" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Graphics;3DGraphics;" false
.include <bsd.port.pre.mk>
post-patch:
.if ${ARCH} != amd64 && ${ARCH} != i386
${REINPLACE_CMD} -e 's/-msse2 //g' ${WRKSRC}/SConstruct
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for SZ in 32 64 256
@ -34,4 +41,4 @@ do-install:
${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/goxel.png
.endfor
.include <bsd.port.mk>
.include <bsd.port.post.mk>