ports/95872: [MAINTAINER] graphics/sharpconstruct: fix build on i386 and introduce ONLY_FOR_ARCHS
Dmitry Marakasov
amdmi3 at mail.ru
Sun Apr 16 13:30:28 UTC 2006
>Number: 95872
>Category: ports
>Synopsis: [MAINTAINER] graphics/sharpconstruct: fix build on i386 and introduce ONLY_FOR_ARCHS
>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 16 13:30:24 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 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386
>Description:
The port uses -msse compiler option, which I've disabled by ports/95552 to make it compile under amd64. That led to the port not compiling anywhere at all, as sse dependancy is hardcoded. So:
- Don't remove -msse from compiler flags
- Introduce ONLY_FOR_ARCHS=i386
>How-To-Repeat:
>Fix:
--- sharpconstruct.patch begins here ---
diff -ruN sharpconstruct.old/Makefile sharpconstruct/Makefile
--- sharpconstruct.old/Makefile Sun Apr 16 17:16:58 2006
+++ sharpconstruct/Makefile Sun Apr 16 17:19:47 2006
@@ -26,6 +26,8 @@
MAN1= sharpconstruct.1
+ONLY_FOR_ARCHS= i386
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
@@ -41,6 +43,5 @@
@${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:
More information about the freebsd-ports-bugs
mailing list