From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 14 04:40:23 2004 Return-Path: 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 B21C616A4CF for ; Wed, 14 Jul 2004 04:40:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E44D43D55 for ; Wed, 14 Jul 2004 04:40:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6E4eNsc010700 for ; Wed, 14 Jul 2004 04:40:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6E4eNcc010699; Wed, 14 Jul 2004 04:40:23 GMT (envelope-from gnats) Resent-Date: Wed, 14 Jul 2004 04:40:23 GMT Resent-Message-Id: <200407140440.i6E4eNcc010699@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, "Conrad J. Sabatier" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7950E16A4CE; Wed, 14 Jul 2004 04:35:45 +0000 (GMT) Received: from lakermmtao10.cox.net (lakermmtao10.cox.net [68.230.240.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC78E43D45; Wed, 14 Jul 2004 04:35:44 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao10.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040714043543.OCMQ1052.lakermmtao10.cox.net@dolphin.local.net>; Wed, 14 Jul 2004 00:35:43 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.12.11/8.12.11) with ESMTP id i6E4ZhDG047003; Tue, 13 Jul 2004 23:35:43 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.12.11/8.12.11/Submit) id i6E4Zh64047002; Tue, 13 Jul 2004 23:35:43 -0500 (CDT) (envelope-from conrads) Message-Id: <200407140435.i6E4Zh64047002@dolphin.local.net> Date: Tue, 13 Jul 2004 23:35:43 -0500 (CDT) From: "Conrad J. Sabatier" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: lioux@FreeBSD.org Subject: ports/69043: Fix BROKEN status of multimedia/mpeg4ip on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Conrad J. Sabatier" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 04:40:23 -0000 >Number: 69043 >Category: ports >Synopsis: Fix BROKEN status of multimedia/mpeg4ip on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 14 04:40:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Conrad J. Sabatier >Release: FreeBSD 5.2-CURRENT amd64 >Organization: >Environment: System: FreeBSD dolphin.local.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Jul 12 12:24:32 CDT 2004 root@:/usr/obj/usr/src/sys/CUSTOM amd64 >Description: multimedia/mpeg4ip is marked as BROKEN for amd64: ===> mpeg4ip-1.0 is marked as broken: Does not build on amd64 (shared libraries must be compiled with -fPIC). So why not just add the needed flag if ${ARCH} == amd64? >How-To-Repeat: Try to build multimedia/mpeg4ip on amd64 >Fix: Workaround: add the following to portupgrade's /usr/local/etc/pkgtools.conf under the MAKE_ARGS section: 'multimedia/mpeg4ip' => 'CFLAGS+="-fPIC"', Or patch the port's Makefile: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/mpeg4ip/Makefile,v retrieving revision 1.39 diff -u -r1.39 Makefile --- Makefile 19 Jun 2004 09:26:08 -0000 1.39 +++ Makefile 14 Jul 2004 04:30:23 -0000 @@ -92,7 +92,7 @@ .include .if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" + CFLAGS+="-fPIC" .endif post-patch: >Release-Note: >Audit-Trail: >Unformatted: