From adffc3745ffc698c19894ef178405250fa367fa7 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Mon, 1 Mar 2004 18:10:43 +0000 Subject: - Fix build on non-i386 arch PR: ports/63588 Submitted by: Ports Fury --- audio/blop/Makefile | 9 +-------- audio/blop/files/patch-configure | 11 +++++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 audio/blop/files/patch-configure (limited to 'audio/blop') diff --git a/audio/blop/Makefile b/audio/blop/Makefile index 82c3d13bc05c..d5a3b1e939f1 100644 --- a/audio/blop/Makefile +++ b/audio/blop/Makefile @@ -23,14 +23,7 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}" -.include - -.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 @@ post-patch: pre-build: cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h -.include +.include diff --git a/audio/blop/files/patch-configure b/audio/blop/files/patch-configure new file mode 100644 index 000000000000..d134b6eec9b4 --- /dev/null +++ b/audio/blop/files/patch-configure @@ -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 + -- cgit v1.2.3