From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 24 16:30:18 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 205CC16A4CF for ; Sat, 24 Jan 2004 16:30:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60BE543D54 for ; Sat, 24 Jan 2004 16:30:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0P0UFFR063381 for ; Sat, 24 Jan 2004 16:30:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0P0UFUk063380; Sat, 24 Jan 2004 16:30:15 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 24 Jan 2004 16:30:15 -0800 (PST) Resent-Message-Id: <200401250030.i0P0UFUk063380@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, Dan Pelleg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF9E116A4CE for ; Sat, 24 Jan 2004 16:28:37 -0800 (PST) Received: from gw.pelleg.org (gw.pelleg.org [205.201.13.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49A6C43D58 for ; Sat, 24 Jan 2004 16:28:36 -0800 (PST) (envelope-from dpelleg+@cs.cmu.edu) Received: from palraz.wburn (palraz [192.168.1.1]) by gw.pelleg.org (Postfix) with ESMTP id C37B65A53 for ; Sat, 24 Jan 2004 19:28:34 -0500 (EST) Received: by palraz.wburn (Postfix, from userid 7675) id 1457622A; Sat, 24 Jan 2004 19:28:33 -0500 (EST) Message-Id: <20040125002833.1457622A@palraz.wburn> Date: Sat, 24 Jan 2004 19:28:33 -0500 (EST) From: Dan Pelleg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/61853: Maintainer update: support amd64,ia64 compilation for audio/boodler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Pelleg List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 00:30:18 -0000 >Number: 61853 >Category: ports >Synopsis: Maintainer update: support amd64,ia64 compilation for audio/boodler >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 24 16:30:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: Dan Pelleg >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD l 4.7-STABLE FreeBSD 4.7-STABLE #8: Wed Jul 3 21:28:13 EDT 2002 d@p i386 >Description: Patches to compile under amd64 and ia64. I have no access to such machines running freebsd; hopefully this does the trick. >How-To-Repeat: >Fix: diff -ruN boodler/Makefile boodler-1.5.3_1/Makefile --- boodler/Makefile Tue Dec 30 19:45:42 2003 +++ boodler-1.5.3_1/Makefile Sat Jan 24 19:21:26 2004 @@ -7,6 +7,7 @@ PORTNAME= boodler PORTVERSION= 1.5.3 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.eblong.com/zarf/boodler/ \ http://s89813419.onlinehome.us/ @@ -35,7 +36,7 @@ @${RMDIR} ${WRKDIR}/boodler-snd/string do-build: - (cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER} && make) + (cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER} ${PIC} && make) @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/effects ${WRKSRC}/boodle/ do-install: @@ -52,5 +53,9 @@ @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} + +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" +PIC= --PIC +.endif .include diff -ruN boodler/files/patch-ab boodler-1.5.3_1/files/patch-ab --- boodler/files/patch-ab Wed Dec 31 19:00:00 1969 +++ boodler-1.5.3_1/files/patch-ab Sat Jan 24 19:22:37 2004 @@ -0,0 +1,31 @@ +--- configure.py.orig Sat Jan 24 18:44:11 2004 ++++ configure.py Sat Jan 24 18:46:37 2004 +@@ -7,7 +7,7 @@ + import getopt + + usagemessage = 'usage: ' + sys.argv[0] + ' [-d NAME] [-i] [-I /dir/path] [-L /dir/path] [-l]' +-usagemessage = usagemessage + '\n or: ' + sys.argv[0] + ' [--driver NAME] [--integer] [--include /dir/path] [--lib /dir/path] [--list]' ++usagemessage = usagemessage + '\n or: ' + sys.argv[0] + ' [--driver NAME] [--integer] [--include /dir/path] [--lib /dir/path] [--list] [--PIC]' + + helpmessage = 'Boodler configuration script\n\n' + usagemessage + ''' + +@@ -68,8 +68,8 @@ + ''' + + try: +- (opts, args) = getopt.getopt(sys.argv[1:], 'd:I:L:lih', +- ['driver=', 'include=', 'lib=', 'list', 'integer', 'help']) ++ (opts, args) = getopt.getopt(sys.argv[1:], 'd:I:L:lihP', ++ ['driver=', 'include=', 'lib=', 'list', 'integer', 'help', 'PIC']) + except getopt.error, ex: + print (sys.argv[0] + ':'), str(ex) + print usagemessage +@@ -101,6 +101,8 @@ + extraheaders.append(opval) + if (opname == '--lib' or opname == '-L'): + extralibs.append(opval) ++ if (opname == '--PIC' or opname == '-P'): ++ cflagopts = cflagopts + ' -fPIC' + + headerpath = extraheaders + headerpath + libpath = extralibs + libpath >Release-Note: >Audit-Trail: >Unformatted: