Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2004 00:30:23 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63588: Update port: audio/blop
Message-ID:  <20040302003023.436ab641.tkato@prontomail.com>
Resent-Message-ID: <200403011540.i21FeCe3029615@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63588
>Category:       ports
>Synopsis:       Update port: audio/blop
>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:   Mon Mar 01 07:40:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build on non-i386 arch

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/blop/Makefile audio/blop/Makefile
--- /usr/ports/audio/blop/Makefile	Fri Feb 27 18:54:49 2004
+++ audio/blop/Makefile	Mon Mar  1 01:25:34 2004
@@ -23,14 +23,7 @@
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-ladspa-prefix="${LOCALBASE}"
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
-BROKEN=		"Configure fails on alpha 5.x"
-.endif
-
 post-patch:
-	@${REINPLACE_CMD} 's|-pipe -Wall -O3 |\$$CFLAGS |g' ${WRKSRC}/configure
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|\$$(LIBS)|\$$(LIBS) \$$(LDFLAGS)|g ; \
 		 s|-lc | |g'
@@ -38,4 +31,4 @@
 pre-build:
 	cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/audio/blop/files/patch-configure audio/blop/files/patch-configure
--- /usr/ports/audio/blop/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ audio/blop/files/patch-configure	Mon Mar  1 01:25:13 2004
@@ -0,0 +1,11 @@
+--- configure.orig	Wed Feb 19 05:23:43 2003
++++ configure	Mon Mar  1 01:25:03 2004
+@@ -843,7 +843,7 @@
+   CFLAGS="-pipe -Wall -O0 -g"
+ else
+   CPU=$(uname -m)
+-    CFLAGS="-pipe -Wall -O3 -DNO_DEBUG -Wno-unused -ffast-math -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -fPIC -DPIC"
++    CFLAGS="$CFLAGS -DNO_DEBUG -fPIC -DPIC"
+ 
+ fi
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040302003023.436ab641.tkato>