Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2016 10:25:59 +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: r429056 - head/print/lilypond-devel
Message-ID:  <201612211025.uBLAPxDj090614@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec 21 10:25:58 2016
New Revision: 429056
URL: https://svnweb.freebsd.org/changeset/ports/429056

Log:
  - Builds fine on 9.x
  - Mark BROKEN on FreeBSD 10.1, 10.2
  
  Approved by:	portmgr blanket

Modified:
  head/print/lilypond-devel/Makefile

Modified: head/print/lilypond-devel/Makefile
==============================================================================
--- head/print/lilypond-devel/Makefile	Wed Dec 21 10:23:04 2016	(r429055)
+++ head/print/lilypond-devel/Makefile	Wed Dec 21 10:25:58 2016	(r429056)
@@ -32,8 +32,6 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
 
-BROKEN_FreeBSD_9=	does not build on FreeBSD < 10.x
-
 INFO=		internals \
 		lilypond-changes \
 		lilypond-contributor \
@@ -73,6 +71,12 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1003000
+BROKEN=		does not build on < 10.3 (undefined reference to `__cxa_throw_bad_array_new_length')
+.endif
+
 post-patch:
 	${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} \
 	    ${REINPLACE_CMD} -e 's|isinf[ ]*(|::isinf(|g' -e 's|isnan|::isnan|g'
@@ -87,4 +91,4 @@ post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lilypond/${PORTVERSION}/python/midi.so
 	(cd ${STAGEDIR}/${DATADIR} && ${LN} -fs ${PORTVERSION} current)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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