From owner-freebsd-ports@FreeBSD.ORG Tue Nov 23 20:00:58 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EFA616A4CF for ; Tue, 23 Nov 2004 20:00:58 +0000 (GMT) Received: from antivirus.uni-rostock.de (antivirus.uni-rostock.de [139.30.8.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7755343D39 for ; Tue, 23 Nov 2004 20:00:21 +0000 (GMT) (envelope-from ingmar.gebert@uni-rostock.de) Received: from antivirus.exch.rz.uni-rostock.de ([127.0.0.1]) by antivirus.uni-rostock.de with Microsoft SMTPSVC(6.0.3790.211); Tue, 23 Nov 2004 21:00:20 +0100 Received: from antivirus.uni-rostock.de (unverified) by antivirus.exch.rz.uni-rostock.de for ; Tue, 23 Nov 2004 21:00:19 +0100 Received: from mail.uni-rostock.de ([139.30.8.11]) by antivirus.uni-rostock.de with Microsoft SMTPSVC(6.0.3790.211); Tue, 23 Nov 2004 21:00:19 +0100 Received: from conversion-daemon.mail2.uni-rostock.de by mail2.uni-rostock.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) id <0I7N00H01DWULQ@mail.uni-rostock.de> (original mail from ingmar.gebert@uni-rostock.de) for ports@FreeBSD.org; Tue, 23 Nov 2004 21:00:19 +0100 (MET) Received: from Pequod (vpn017210.uni-rostock.de [139.30.17.210]) by mail2.uni-rostock.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPS id <0I7N00FEJE88KE@mail.uni-rostock.de>; Tue, 23 Nov 2004 21:00:12 +0100 (MET) Date: Tue, 23 Nov 2004 20:57:18 +0100 From: Ingmar Gebert To: asa@gascom.ru Message-id: <000401c4d196$ae1dbaa0$d2111e8b@Pequod> Organization: University of Rostock MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook Express 6.00.2900.2180 Content-type: text/plain; reply-type=original; charset=iso-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal X-OriginalArrivalTime: 23 Nov 2004 20:00:19.0826 (UTC) FILETIME=[0F2F9520:01C4D197] cc: ports@FreeBSD.org Subject: missing libmad optimization, diff included X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 20:00:58 -0000 I miss a knob for compiling libmad with speed optimizations, which is offered during configuration. See the diff below for the simple changes. Feel free to open a PR. This was testet on: 10# uname -a FreeBSD 10.10.134.30 4.9-SECURITY FreeBSD 4.9-SECURITY #0: Mon Jun 7 18:02:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Cheers, Ingmar ------------------diff-------------------------- --- Makefile Tue Nov 23 20:23:07 2004 +++ Makefile.bak Thu Oct 14 18:04:32 2004 @@ -21,12 +21,7 @@ INSTALLS_SHLIB= yes CONFIGURE_ARGS= --disable-debugging \ --enable-sso \ - -.ifdef(WITH_SPEED) -CONFIGURE_ARGS+=--enable-speed -.else -CONFIGURE_ARGS+=--enable-accuracy -.endif + --enable-accuracy post-patch: @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \