Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2014 19:26:04 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366936 - head/devel/avr-libc
Message-ID:  <201409011926.s81JQ4IV011890@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Sep  1 19:26:03 2014
New Revision: 366936
URL: http://svnweb.freebsd.org/changeset/ports/366936
QAT: https://qat.redports.org/buildarchive/r366936/

Log:
  The doxygen build was failing on 8 and 9 for non-obvious reasons.
  As a stopgap (and as a favour to anyone building from ports ;-), change
  the DOCS option to DOXYGEN, and default it to off.
  
  THere are still some stage-qa issues but it should build and package on
  all platforms now.
  
  Approved by:	joerg (maintainer)

Modified:
  head/devel/avr-libc/Makefile

Modified: head/devel/avr-libc/Makefile
==============================================================================
--- head/devel/avr-libc/Makefile	Mon Sep  1 19:18:57 2014	(r366935)
+++ head/devel/avr-libc/Makefile	Mon Sep  1 19:26:03 2014	(r366936)
@@ -3,6 +3,7 @@
 
 PORTNAME=	avr-libc
 PORTVERSION=	1.8.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	SAVANNAH
@@ -21,15 +22,15 @@ RUN_DEPENDS=	avr-as:${PORTSDIR}/devel/av
 		avr-ld:${PORTSDIR}/devel/avr-binutils \
 		avr-gcc:${PORTSDIR}/devel/avr-gcc
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOXYGEN
 
 .include <bsd.port.options.mk>
 
-.if ! ${PORT_OPTIONS:MDOCS}
+.if ! ${PORT_OPTIONS:MDOXYGEN}
 .undef WITHOUT_AVRLIBCDOCS=	true
 .endif
 
-.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOXYGEN}
 USE_TEX=	latex:build
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
 		fig2dev:${PORTSDIR}/print/transfig \
@@ -41,7 +42,7 @@ USES=		gettext:build tar:bzip2 gmake
 HAS_CONFIGURE=	yes
 
 CONFIGURE_ENV=	CC=avr-gcc PREFIX=${PREFIX}
-.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOXYGEN}
 CONFIGURE_ARGS=	--build=`./config.guess` --host=avr \
 	--enable-doc --disable-versioned-doc --prefix=${PREFIX} \
 	--mandir=${PREFIX}/share/doc/avr-libc/man
@@ -58,13 +59,13 @@ CFLAGS+=	-O
 CXXFLAGS+=	-O
 
 post-patch:
-.if ! ${PORT_OPTIONS:MDOCS}
+.if ! ${PORT_OPTIONS:MDOXYGEN}
 	${REINPLACE_CMD} -e '/SUBDIRS/s,examples,,' ${WRKSRC}/doc/Makefile.in
 .endif
 
 do-install:
 		${RM} -f ${TMPPLIST}
-.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOXYGEN}
 		(cd ${BUILD_WRKSRC}/doc/api/avr-libc-user-manual && \
 		 ${FIND} . -type f \
 		  \( -name '*.html' -or -name '*.css' -or \



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