Subject: pkg/22188: lang/gcc3-c/buildaddon.mk needs version sync
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 07/18/2003 21:19:59
>Number:         22188
>Category:       pkg
>Synopsis:       lang/gcc3-c/buildaddon.mk needs version sync
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 19 01:25:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1_STABLE
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
System: NetBSD server.duh.org 1.6.1_STABLE NetBSD 1.6.1_STABLE (SERVER) #1: Thu Jul 17 15:45:51 EDT 2003 tv@netbsd.int.duh.org:/export/SRC/duh/netbsd-kernels/SERVER i386
Architecture: i386
Machine: i386
>Description:

Building lang/gcc3-c++ fails, because lang/gcc3-c installs "gcc3-c-3.3nb1",
whereas lang/gcc3-c/buildaddon.mk looks for "gcc3-c-3.3" explicitly.

>How-To-Repeat:

Build lang/gcc3-c++ without lang/gcc3-c installed.

>Fix:

Index: buildaddon.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc3-c/buildaddon.mk,v
retrieving revision 1.3
diff -u -r1.3 buildaddon.mk
--- buildaddon.mk	2003/07/16 20:23:59	1.3
+++ buildaddon.mk	2003/07/19 01:19:13
@@ -7,7 +7,7 @@
 	${LN} -sf ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
 	${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
 
-BUILDLINK_DEPENDS.gcc3c?=	gcc3${GCC3_PKGMODIF}-c-3.3
+BUILDLINK_DEPENDS.gcc3c?=	gcc3${GCC3_PKGMODIF}-c-3.3nb1
 BUILDLINK_PKGSRCDIR.gcc3c?=	../../lang/gcc3-c
 
 BUILDLINK_PREFIX.gcc3c=	${LOCALBASE}
>Release-Note:
>Audit-Trail:
>Unformatted: