Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  9 Apr 2006 22:44:19 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95552: [MAINTAINER] graphics/sharpconstruct fix build on non-i386
Message-ID:  <20060409184419.3574747@hades.panopticon>
Resent-Message-ID: <200604091850.k39IoGLo026280@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95552
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/sharpconstruct fix build on non-i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 09 18:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Fri Jan 27 12:07:19 MSK 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Port didn't build on non-i386 machines, because there was `-msse' option was passed to gcc.

Reported by: pointyhat via kris

>How-To-Repeat:
>Fix:

--- sharpconstruct.patch begins here ---
diff -ruN sharpconstruct.orig/Makefile sharpconstruct/Makefile
--- sharpconstruct.orig/Makefile	Sun Apr  9 22:37:34 2006
+++ sharpconstruct/Makefile	Sun Apr  9 22:38:31 2006
@@ -41,5 +41,6 @@
 	@${REINPLACE_CMD} -e 's|memalign(b,c)|malloc(c)|' ${WRKSRC}/include/Align.hh
 	@${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \
 		${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|'
+	@${REINPLACE_CMD} -e 's|-msse||' ${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.post.mk>
--- sharpconstruct.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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