Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2016 08:46:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429485 - head/multimedia/mlt
Message-ID:  <201612260846.uBQ8kadE098744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 26 08:46:36 2016
New Revision: 429485
URL: https://svnweb.freebsd.org/changeset/ports/429485

Log:
  - Mark broken on FreeBSD 9.x i386
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/multimedia/mlt/Makefile

Modified: head/multimedia/mlt/Makefile
==============================================================================
--- head/multimedia/mlt/Makefile	Mon Dec 26 08:41:15 2016	(r429484)
+++ head/multimedia/mlt/Makefile	Mon Dec 26 08:46:36 2016	(r429485)
@@ -21,6 +21,9 @@ CONFLICTS_INSTALL=	freeze-[0-9]*
 
 LIB_DEPENDS=	libfftw3.so:math/fftw3
 
+BROKEN_FreeBSD_9_i386=	does not build (filter_glsl_manager.cpp:401: error: integer constant is too large for 'long' type)
+BROKEN_sparc64=		does not compile on sparc64 (invokes i386 asm)
+
 USE_GNOME=	libxml2
 USE_SDL=	image
 USE_XORG=	x11
@@ -111,10 +114,6 @@ VIDSTAB_CONFIGURE_ENABLE=vid.stab
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "sparc64"
-BROKEN=		does not compile on sparc64 (invokes i386 asm)
-.endif
-
 .if ${PORT_OPTIONS:MQT[45]}
 LIB_DEPENDS+=		libexif.so:graphics/libexif
 CONFIGURE_ARGS+=	--enable-qt \
@@ -140,21 +139,21 @@ pre-configure:
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1
 	@${RM} ${WRKSRC}/docs/melt.1
-.if ${PORT_OPTIONS:MDOCS}
-. for f in ${PORTDOCS}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}
-. endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-. for f in ${PORTEXAMPLES}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR}
-. endfor
-.endif
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt.so.${PORTVERSION}
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++.so.${PORTVERSION}
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mlt/*
 
+post-install-DOCS-on:
+.for f in ${PORTDOCS}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+post-install-EXAMPLES-on:
+.for f in ${PORTEXAMPLES}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR}
+.endfor
+
 .endif # ${SLAVE_PORT} == "no"
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612260846.uBQ8kadE098744>