From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 15 04:00:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFA3D779 for ; Sat, 15 Dec 2012 04:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A3EDE8FC19 for ; Sat, 15 Dec 2012 04:00:00 +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 qBF400YY047582 for ; Sat, 15 Dec 2012 04:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBF400Ft047581; Sat, 15 Dec 2012 04:00:00 GMT (envelope-from gnats) Resent-Date: Sat, 15 Dec 2012 04:00:00 GMT Resent-Message-Id: <201212150400.qBF400Ft047581@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, "4721@hushmail.com" <4721@hushmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 132DB740 for ; Sat, 15 Dec 2012 03:55:28 +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 D4BD28FC13 for ; Sat, 15 Dec 2012 03:55:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBF3tRRh012260 for ; Sat, 15 Dec 2012 03:55:27 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBF3tREM012259; Sat, 15 Dec 2012 03:55:27 GMT (envelope-from nobody) Message-Id: <201212150355.qBF3tREM012259@red.freebsd.org> Date: Sat, 15 Dec 2012 03:55:27 GMT From: "4721@hushmail.com" <4721@hushmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174448: [patch] fix audio/baudline on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 04:00:00 -0000 >Number: 174448 >Category: ports >Synopsis: [patch] fix audio/baudline 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: Sat Dec 15 04:00:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: 4721@hushmail.com >Release: >Organization: >Environment: >Description: the audio/baudline port tries to install the 64-bit version on amd64, which installs an unusable program because freebsd can not run 64-bit linux programs. * fix on amd64 by forcing to always use the i686 version * remove unncessary EXTRACT_SUFX * optionalize MPG123 dependency >How-To-Repeat: >Fix: Patch attached with submission follows: Index: audio/baudline/Makefile =================================================================== --- audio/baudline/Makefile (revision 308925) +++ audio/baudline/Makefile (working copy) @@ -1,9 +1,4 @@ -# New ports collection makefile for: baudline -# Date created: 19 Jan 2002 -# Whom: David Yeske -# # $FreeBSD$ -# PORTNAME= baudline PORTVERSION= 1.08 @@ -12,16 +7,12 @@ # package cluster to automatically fetch baudline MASTER_SITES= http://www.baudline.com/ PKGNAMEPREFIX= linux- -DISTNAME= baudline_${PORTVERSION:S/.p/pre/}_linux_${ARCH_SUFX} -EXTRACT_SUFX= .tar.gz +DISTNAME= baudline_${PORTVERSION:S/.p/pre/}_linux_i686 MAINTAINER= hamradio@FreeBSD.org COMMENT= Real-time signal analysis and time-frequency browser -RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 - WRKSRC= ${WRKDIR}/${DISTNAME:S/i686/x86/} -ARCH_SUFX= ${ARCH:S/i386/i686/:S/amd64/x86_64/} USE_LINUX= yes USE_LINUX_APPS= xorglibs ONLY_FOR_ARCHS= i386 amd64 @@ -31,6 +22,15 @@ PORTDOCS= README_unix.txt PLIST_FILES= bin/baudline +OPTIONS_DEFINE= MPG123 +OPTIONS_DEFAULT=MPG123 + +.include + +.if ${PORT_OPTIONS:MMPG123} +RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 +.endif + .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) Index: audio/baudline/distinfo =================================================================== --- audio/baudline/distinfo (revision 308925) +++ audio/baudline/distinfo (working copy) @@ -1,4 +1,2 @@ SHA256 (baudline_1.08_linux_i686.tar.gz) = 4b42e8d03c9fe9738ec66ee51a8d594a60a5770e8e22bb1d73ae38566fb951f1 SIZE (baudline_1.08_linux_i686.tar.gz) = 1945014 -SHA256 (baudline_1.08_linux_x86_64.tar.gz) = 79ff55c3817cd4a97d565733ea6e0532be57b05a7ffe7865b03199680800d625 -SIZE (baudline_1.08_linux_x86_64.tar.gz) = 2270546 >Release-Note: >Audit-Trail: >Unformatted: