ports/159540: devel/msp430-libc Makefile has a tiny parsing error
Doug Barton
dougb at FreeBSD.org
Sat Aug 6 02:00:27 UTC 2011
>Number: 159540
>Category: ports
>Synopsis: devel/msp430-libc Makefile has a tiny parsing error
>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: Sat Aug 06 02:00:26 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Doug Barton
>Release: FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
DNA
>Description:
The Makefile has: PORTGCCVERSION= ""
which does the right thing for the post part, but can cause problems
with, for example, 'make describe':
/usr/ports/devel/msp430-libc (msp430-libc-gcc4-1.0.20110612) Error.
BUILD_DEPENDS /usr/ports/devel/msp430-gcc"" -- dependency not found
>How-To-Repeat:
See above
>Fix:
The following patch fixes 'make describe' for me, but should be tested.
Note, this is (somewhat annoyingly) different from how the equivalent
in PLIST_SUB is handled, in part because of how make(1) parses its
variables.
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/msp430-libc/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile 28 Jul 2011 11:52:43 -0000 1.26
+++ Makefile 6 Aug 2011 01:42:33 -0000
@@ -43,7 +43,7 @@
BUILD_DEPENDS+= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
PLIST_SUB+= GCC3="@comment " GCC4=""
NEEDGCCVERSION= 4
-PORTGCCVERSION= ""
+PORTGCCVERSION=
OTHEGCCVERSION= 3
.elif defined(WITH_GCC3)
PLIST_SUB+= GCC3="" GCC4="@comment "
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list