aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2015-08-26 14:22:26 +0800
committerriggs <riggs@FreeBSD.org>2015-08-26 14:22:26 +0800
commit9d247abc8ff733f6d5ee18b5ec9240cb248d4411 (patch)
treeb6fd17bc0cc83f504e6013bb16f6f69a9fbc5543 /multimedia
parentd5cbf56176e71c65e08cb489889c22098507c298 (diff)
downloadfreebsd-ports-gnome-9d247abc8ff733f6d5ee18b5ec9240cb248d4411.tar.gz
freebsd-ports-gnome-9d247abc8ff733f6d5ee18b5ec9240cb248d4411.tar.zst
freebsd-ports-gnome-9d247abc8ff733f6d5ee18b5ec9240cb248d4411.zip
Convert ASM to option helpers, make ASM arch-dependent
- Provide ASM option only on supported archs (i386, amd64) - i386: ASM is no longer default OPTION (fixes bug 252587) - Bump PORTREVISION PR: 202599 Submitted by: jbeich Reviewed by: riggs
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libass/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/multimedia/libass/Makefile b/multimedia/libass/Makefile
index 29786be8c5cf..1e19dd4d568c 100644
--- a/multimedia/libass/Makefile
+++ b/multimedia/libass/Makefile
@@ -2,6 +2,7 @@
PORTNAME= libass
PORTVERSION= 0.12.1
+PORTREVISION= 1
CATEGORIES= multimedia devel
MAINTAINER= multimedia@FreeBSD.org
@@ -21,9 +22,14 @@ USE_LDCONFIG= yes
PATHFIX_MAKEFILEIN=Makefile.am
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= ASM ENCA FONTCONFIG HARFBUZZ
-OPTIONS_DEFAULT=ASM ENCA FONTCONFIG HARFBUZZ
+OPTIONS_DEFINE= ENCA FONTCONFIG HARFBUZZ
+OPTIONS_DEFAULT=ENCA FONTCONFIG HARFBUZZ
+OPTIONS_DEFINE_amd64= ASM
+OPTIONS_DEFINE_i386= ASM
+OPTIONS_DEFAULT_amd64= ASM
+ASM_BUILD_DEPENDS=${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
+ASM_CONFIGURE_ENABLE=asm
ASM_DESC?= Use optimized ASM routines on x86/amd64
ENCA_LIB_DEPENDS=libenca.so:${PORTSDIR}/converters/enca
@@ -37,15 +43,4 @@ HARFBUZZ_LIB_DEPENDS=libharfbuzz.so:${PORTSDIR}/print/harfbuzz
HARFBUZZ_CONFIGURE_ENABLE=harfbuzz
HARFBUZZ_DESC?= Font shaping via HarfBuzz
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64" || ${ARCH} == "i386"
-.if ${PORT_OPTIONS:MASM}
-CONFIGURE_ARGS+= --enable-asm
-BUILD_DEPENDS+= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
-.else
-CONFIGURE_ARGS+= --disable-asm
-.endif
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
2017-05-231-0/+2 * devel/google{test,mock}: update to 1.8.0.50jbeich2017-05-191-1/+1 * devel/boost-*: update to 1.64.0jbeich2017-05-021-0/+1 * Update to 1.3.0sunpoet2017-01-1312-244/+65 * - Cosmetic changesunpoet2016-12-291-1/+1 * Don't quote {} in find -exec calls.mat2016-12-011-1/+1 * - Add LICENSE_FILEsunpoet2016-11-271-4/+5 * - Resolve conflict with archivers/minizip: rename libminizip to libkmlminizipsunpoet2016-04-075-15/+40 * Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.mat2016-04-01