From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 16 13:30:28 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96AA616A400 for ; Sun, 16 Apr 2006 13:30:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9361C43D49 for ; Sun, 16 Apr 2006 13:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3GDUPwD061858 for ; Sun, 16 Apr 2006 13:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3GDUPnU061857; Sun, 16 Apr 2006 13:30:25 GMT (envelope-from gnats) Resent-Date: Sun, 16 Apr 2006 13:30:25 GMT Resent-Message-Id: <200604161330.k3GDUPnU061857@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E29F16A400 for ; Sun, 16 Apr 2006 13:23:18 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE28843D45 for ; Sun, 16 Apr 2006 13:23:17 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=1921 helo=nexii.panopticon) by mx2.mail.ru with esmtp id 1FV7Df-000Hmi-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 16 Apr 2006 17:23:15 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id AC3981146B for ; Sun, 16 Apr 2006 17:28:34 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 57F63261; Sun, 16 Apr 2006 17:24:09 +0400 (MSD) Message-Id: <20060416132409.57F63261@hades.panopticon> Date: Sun, 16 Apr 2006 17:24:09 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/95872: [MAINTAINER] graphics/sharpconstruct: fix build on i386 and introduce ONLY_FOR_ARCHS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2006 13:30:28 -0000 >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@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 .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 --- sharpconstruct.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: