Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 10:29:34 -0800
From:      Craig Leres <leres@ee.lbl.gov>
To:        bug-followup@FreeBSD.org
Subject:   ports/153181: [PATCH] devel/avr-libc: port is not broken when AVRLIBCDOCS is not selected
Message-ID:  <4D09090E.4030806@ee.lbl.gov>
Resent-Message-ID: <201012151830.oBFIUAv0015141@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153181
>Category:       ports
>Synopsis:       [PATCH] devel/avr-libc: port is not broken when AVRLIBCDOCS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 18:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
	FreeBSD fun.ee.lbl.gov 7.2-RELEASE FreeBSD 7.2-RELEASE #9 r99: Sat Dec
 4 23:25:23 PST 2010
leres@fun.ee.lbl.gov:/home/fun/u2/src/7.2-RELEASE/sys/amd64/compile/LBLSMPIPV6
 amd64

>Description:
	This port is marked as broken but in fact it builds correctly
	when the documentation option (AVRLIBCDOCS) is not selected.

>How-To-Repeat:
	Comment out the BROKEN line, "make config" and enable
	AVRLIBCDOCS and things go wrong.

	"make config" and disable AVRLIBCDOCS and everything builds.

>Fix:
	Change the default for AVRLIBCDOCS to off; move BROKEN to
	the case when AVRLIBCDOCS is on.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0JCQ4ACgkQWxlAhAje3Jt3nwCeJhQl5bx4pW4KKTz9xVK5qjk0
le8AoI0AGdRHT05+0pnGzrJ/GdrkZ5Sn
=8Wil
-----END PGP SIGNATURE-----

--------------010202050708040408070003
Content-Type: text/plain;
 name="patch-Makefile"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-Makefile"

--- Makefile.orig	2010-12-15 09:59:04.000000000 -0800
+++ Makefile	2010-12-15 10:26:28.000000000 -0800
@@ -7,6 +7,7 @@
 
 PORTNAME=	avr-libc
 PORTVERSION=	1.7.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
@@ -22,10 +23,8 @@
 		avr-ld:${PORTSDIR}/devel/avr-binutils \
 		avr-gcc:${PORTSDIR}/devel/avr-gcc
 
-BROKEN=		does not build
-
 .if !defined(NOPORTDOCS)
-OPTIONS=	AVRLIBCDOCS "Build avr-libc documents" on
+OPTIONS=	AVRLIBCDOCS "Build avr-libc documents" off
 .endif
 
 .include <bsd.port.options.mk>
@@ -33,6 +32,8 @@
 .if defined(WITHOUT_AVRLIBCDOCS) || defined(NOPORTDOCS)
 WITHOUT_AVRLIBCDOCS=	true
 .undef WITH_AVRLIBCDOCS
+.else
+#BROKEN=		does not build with AVRLIBCDOCS enabled
 .endif
 
 .if defined(WITH_AVRLIBCDOCS)

--------------010202050708040408070003
Content-Type: application/octet-stream;
 name="patch-Makefile.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch-Makefile.sig"

iEYEABECAAYFAk0JCQ4ACgkQWxlAhAje3JsKbgCfX9OvRWIWPWE+lvZsiXnbf28vvcEAnib9
59H3vadydK63IswcHneGVtaz
--------------010202050708040408070003--
>Release-Note:
>Audit-Trail:
>Unformatted:
 This is a multi-part message in MIME format.
 --------------010202050708040408070003
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 is not selected



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