From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 25 18:20:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBE841065674 for ; Mon, 25 Jun 2012 18:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0A08FC15 for ; Mon, 25 Jun 2012 18:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5PIK6Zh085593 for ; Mon, 25 Jun 2012 18:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5PIK6Jr085592; Mon, 25 Jun 2012 18:20:06 GMT (envelope-from gnats) Resent-Date: Mon, 25 Jun 2012 18:20:06 GMT Resent-Message-Id: <201206251820.q5PIK6Jr085592@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, Matthieu Volat Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EAFA10656D3 for ; Mon, 25 Jun 2012 18:13:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 484138FC15 for ; Mon, 25 Jun 2012 18:13:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5PID2EE049445 for ; Mon, 25 Jun 2012 18:13:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q5PID24r049444; Mon, 25 Jun 2012 18:13:02 GMT (envelope-from nobody) Message-Id: <201206251813.q5PID24r049444@red.freebsd.org> Date: Mon, 25 Jun 2012 18:13:02 GMT From: Matthieu Volat To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169424: lp_solve installation on powerpc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 18:20:07 -0000 >Number: 169424 >Category: ports >Synopsis: lp_solve installation on powerpc >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 25 18:20:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Matthieu Volat >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD click 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Wed Jan 4 08:17:39 UTC 2012 marcel@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC powerpc >Description: As of now, math/lp_solve building is marked as broken when building for the powerpc architecture as it does not install. Using a macbook g4, I was able to build and install lp_solve if I removed the "broken" flag and added a section in the ${ARCH} selection block like that : .if ${ARCH} == "i386" || ${ARCH} == "powerpc" LPSOLVE_ARCH= ux32 .else LPSOLVE_ARCH= ux64 .endif No problem were seen : the executable seems to run fine. >How-To-Repeat: Try to make then make install math/lp_solve, there will be a complain about no ux64 directory found. >Fix: Set the LPSOVE_ARCH as ux32, see patch attached. Patch attached with submission follows: --- Makefile.orig 2012-06-25 20:10:30.000000000 +0200 +++ Makefile 2012-06-25 20:10:16.000000000 +0200 @@ -24,16 +24,12 @@ .include -.if ${ARCH} == "i386" +.if ${ARCH} == "i386" || ${ARCH} == "powerpc" LPSOLVE_ARCH= ux32 .else LPSOLVE_ARCH= ux64 .endif -.if ${ARCH} == "powerpc" -BROKEN= Does not install on powerpc -.endif - post-patch: @${FIND} ${WRKSRC} -name "ccc" | ${XARGS} ${REINPLACE_CMD} -e \ "s|^c=.*$$|c='${CC}'|g ; \ >Release-Note: >Audit-Trail: >Unformatted: