Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 11:04:55 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496442 - head/graphics/goxel
Message-ID:  <201903211104.x2LB4t7u084221@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903211104.x2LB4t7u084221>