Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2016 14:06:12 +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: r424418 - head/graphics/libboard
Message-ID:  <201610211406.u9LE6Con003555@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct 21 14:06:12 2016
New Revision: 424418
URL: https://svnweb.freebsd.org/changeset/ports/424418

Log:
  - Mark BROKEN on 9.x:
  
  src/Tools.cpp:204: error: 'snprintf' is not a member of 'std'
  
  - Switch to options helpers
  - Switch to new test framework
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/libboard/Makefile

Modified: head/graphics/libboard/Makefile
==============================================================================
--- head/graphics/libboard/Makefile	Fri Oct 21 14:02:14 2016	(r424417)
+++ head/graphics/libboard/Makefile	Fri Oct 21 14:06:12 2016	(r424418)
@@ -13,6 +13,8 @@ LICENSE=	LGPL3
 BUILD_DEPENDS=	doxygen:devel/doxygen
 LIB_DEPENDS=	libMagick++-6.so:graphics/ImageMagick
 
+BROKEN_FreeBSD_9=	does not build
+
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
 CONFIGURE_ENV=	CXX=${CXX}
@@ -40,19 +42,19 @@ pre-configure:
 post-install:
 	${MV} ${STAGEDIR}${PREFIX}/lib/libboard.so ${STAGEDIR}${PREFIX}/lib/libboard.so.0
 	${LN} -sf libboard.so.0 ${STAGEDIR}${PREFIX}/lib/libboard.so
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
 	${RM} -r ${STAGEDIR}${DOCSDIR}/.svn
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR}/
 	${RM} -r ${STAGEDIR}${EXAMPLESDIR}/.svn
-.endif
 
-regression-test:
+do-test:
 	(cd ${WRKDIR} && ${WRKSRC}/bin/arithmetic bec)
 .for ex in 1 2 3
 	(cd ${WRKDIR} && ${WRKSRC}/bin/example${ex})



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