svn commit: r496442 - head/graphics/goxel
Mark Linimon
linimon at FreeBSD.org
Thu Mar 21 11:04:56 UTC 2019
Author: linimon
Date: Thu Mar 21 11:04:55 2019
New Revision: 496442
URL: https://svnweb.freebsd.org/changeset/ports/496442
Log:
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
Modified:
head/graphics/goxel/Makefile
Modified: head/graphics/goxel/Makefile
==============================================================================
--- head/graphics/goxel/Makefile Thu Mar 21 10:53:03 2019 (r496441)
+++ head/graphics/goxel/Makefile Thu Mar 21 11:04:55 2019 (r496442)
@@ -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>
More information about the svn-ports-all
mailing list