aboutsummaryrefslogtreecommitdiff
path: root/audio/blop
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-01 18:10:43 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-01 18:10:43 +0000
commitadffc3745ffc698c19894ef178405250fa367fa7 (patch)
treef732cf1d3f567328526172f3ee6bb16b02f2c151 /audio/blop
parent3ab74275cecc8ee1c715e332275f7f8fd0f50625 (diff)
downloadports-adffc3745ffc698c19894ef178405250fa367fa7.tar.gz
ports-adffc3745ffc698c19894ef178405250fa367fa7.zip
Notes
Diffstat (limited to 'audio/blop')
-rw-r--r--audio/blop/Makefile9
-rw-r--r--audio/blop/files/patch-configure11
2 files changed, 12 insertions, 8 deletions
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 <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 @@ post-patch:
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 --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
+