diff options
author | bapt <bapt@FreeBSD.org> | 2012-07-16 19:39:35 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-07-16 19:39:35 +0800 |
commit | 5b342450fb007294a8799d2cc80509892d8191b5 (patch) | |
tree | 1c7b38555ab7a5ec45b5b1ea5415d345212bf123 /multimedia/xine | |
parent | 050da42f250a02c492efe1b2ef35457299a8d816 (diff) | |
download | freebsd-ports-gnome-5b342450fb007294a8799d2cc80509892d8191b5.tar.gz freebsd-ports-gnome-5b342450fb007294a8799d2cc80509892d8191b5.tar.zst freebsd-ports-gnome-5b342450fb007294a8799d2cc80509892d8191b5.zip |
Only define WIN32_CODEC options on i386 architectures
Diffstat (limited to 'multimedia/xine')
-rw-r--r-- | multimedia/xine/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile index 523c1b1b0b1e..3806dd523563 100644 --- a/multimedia/xine/Makefile +++ b/multimedia/xine/Makefile @@ -25,9 +25,12 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \ xine:${PORTSDIR}/multimedia/libxine RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info -OPTIONS_DEFINE= CACA AALIB LIRC CURL WIN32_CODECS NLS XFT DOCS -OPTIONS_DEFAULT=CURL WIN32_CODECS XFT -WIN32_CODECS_DESC= Enable win32 codecs (for i386 only) +OPTIONS_DEFINE= CACA AALIB LIRC CURL NLS XFT DOCS +OPTIONS_DEFAULT= CURL XFT +OPTIONS_DEFINE_i386= WIN32_CODECS +OPTIONS_DEFAULT_i386= WIN32_CODECS + +WIN32_CODECS_DESC= Enable win32 codecs USE_XZ= yes USE_XORG= x11 xext xinerama xscrnsaver xt xtst xv xxf86vm @@ -53,16 +56,14 @@ MAN1_PL= aaxine.1 xine-remote.1 xine.1 DOCSDIR= ${PREFIX}/share/doc/xine-ui XINE_PLUGINSDIR= lib/xine/plugins/2.2 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if ${ARCH} == "i386" .if ${PORT_OPTIONS:MWIN32_CODECS} RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT} CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE .endif -.endif .if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes @@ -134,4 +135,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |