aboutsummaryrefslogtreecommitdiff
path: root/audio/beast
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-09-03 08:59:17 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-09-03 08:59:17 +0000
commitdc2b128286eaf8648e6c3277787858506a48cf1d (patch)
tree8a0aa82d41bf4fdfbae6fb20e34fdc353c3ce100 /audio/beast
parentdffee50e8045982c868c0f89f4ffb40f049aa4e6 (diff)
downloadports-dc2b128286eaf8648e6c3277787858506a48cf1d.tar.gz
ports-dc2b128286eaf8648e6c3277787858506a48cf1d.zip
Notes
Diffstat (limited to 'audio/beast')
-rw-r--r--audio/beast/Makefile30
1 files changed, 11 insertions, 19 deletions
diff --git a/audio/beast/Makefile b/audio/beast/Makefile
index 0001d0a56431..665e769bfeb4 100644
--- a/audio/beast/Makefile
+++ b/audio/beast/Makefile
@@ -18,10 +18,8 @@ LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib \
libguile.so:${PORTSDIR}/lang/guile
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
-OPTIONS_DEFINE= DEBUG
-OPTIONS_DEFINE_i386= SSE
-
-USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig shared-mime-info shebangfix tar:bzip2
+USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
+ shared-mime-info shebangfix tar:bzip2
SHEBANG_FILES= autotools/intltool-merge
# Fails to build with GCC 4.9, cf. PR 196849.
USE_GCC= 4.8
@@ -38,22 +36,16 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION="${PORTVERSION}"
+OPTIONS_SUB= yes
-DEBUG_CONFIGURE_ENABLE= debug
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN= Does not compile on powerpc: array bound is not an integer constant
-.endif
+OPTIONS_DEFINE= DEBUG
+OPTIONS_DEFINE_i386= SSE
+OPTIONS_DEFINE_amd64= SSE
+OPTIONS_DEFAULT_i386= ${MACHINE_CPU:Msse:tu}
+OPTIONS_DEFAULT_amd64= SSE
-.if ${PORT_OPTIONS:MSSE} || ${ARCH} == "amd64"
-PLIST_SUB+= SSE=""
-SSE_FLAGS= -mmmx -msse
-.else
-PLIST_SUB+= SSE="@comment "
-SSE_FLAGS= # none
-.endif
+DEBUG_CONFIGURE_ENABLE= debug
+SSE_VARS= SSE_FLAGS="-mmmx -msse"
post-patch:
@${REINPLACE_CMD} -e \
@@ -73,4 +65,4 @@ post-patch:
's|-DG_DISABLE_DEPRECATED||' ${WRKSRC}/bse/Makefile.am \
${WRKSRC}/bse/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>