aboutsummaryrefslogtreecommitdiffstats
path: root/audio/blop
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-02 02:10:43 +0800
committerkrion <krion@FreeBSD.org>2004-03-02 02:10:43 +0800
commit83f7f65f562e179b3ecd68561861d7800670d599 (patch)
treef430912e217db5fda60fc16baa613b35ea4add67 /audio/blop
parent48844b090bf82aaa33caa17bb83a7376b31989d4 (diff)
downloadfreebsd-ports-gnome-83f7f65f562e179b3ecd68561861d7800670d599.tar.gz
freebsd-ports-gnome-83f7f65f562e179b3ecd68561861d7800670d599.tar.zst
freebsd-ports-gnome-83f7f65f562e179b3ecd68561861d7800670d599.zip
- Fix build on non-i386 arch
PR: ports/63588 Submitted by: Ports Fury
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
+