Sun Apr 21 09:09:06 2013 UTC ()
Add substitution variable for @GCC_TARGET_MACHINE@ in gcc/Makefile.in

Bump PKGREVISION


(sbd)
diff -r1.6 -r1.7 pkgsrc/lang/gcc48/Makefile

cvs diff -r1.6 -r1.7 pkgsrc/lang/gcc48/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/gcc48/Attic/Makefile 2013/04/21 09:05:01 1.6
+++ pkgsrc/lang/gcc48/Attic/Makefile 2013/04/21 09:09:06 1.7
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1# $NetBSD: Makefile,v 1.6 2013/04/21 09:05:01 sbd Exp $ 1# $NetBSD: Makefile,v 1.7 2013/04/21 09:09:06 sbd Exp $
2 2
3GCC_PKGNAME= gcc48 3GCC_PKGNAME= gcc48
4.include "version.mk" 4.include "version.mk"
5 5
6DISTNAME= gcc-${GCC48_DIST_VERSION} 6DISTNAME= gcc-${GCC48_DIST_VERSION}
7PKGNAME= ${GCC_PKGNAME}-${GCC48_DIST_VERSION} 7PKGNAME= ${GCC_PKGNAME}-${GCC48_DIST_VERSION}
8## When bumping the PKGREVISION of this package the PKGREVISION of 8## When bumping the PKGREVISION of this package the PKGREVISION of
9## lang/gcc48-libs needs to be bump to be at least 1 more than the 9## lang/gcc48-libs needs to be bump to be at least 1 more than the
10## PKGREVISION of this package! 10## PKGREVISION of this package!
11PKGREVISION= 0 11PKGREVISION= 1
12CATEGORIES= lang 12CATEGORIES= lang
13MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC48_DIST_VERSION}/} 13MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC48_DIST_VERSION}/}
14EXTRACT_SUFX= .tar.bz2 14EXTRACT_SUFX= .tar.bz2
15 15
16MAINTAINER= sbd@NetBSD.org 16MAINTAINER= sbd@NetBSD.org
17HOMEPAGE= http://gcc.gnu.org/ 17HOMEPAGE= http://gcc.gnu.org/
18COMMENT= The GNU Compiler Collection (GCC) - 4.8 Release Series 18COMMENT= The GNU Compiler Collection (GCC) - 4.8 Release Series
19LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 19LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
20 20
21DISTFILES= ${DEFAULT_DISTFILES} 21DISTFILES= ${DEFAULT_DISTFILES}
22EXTRACT_ONLY= ${DEFAULT_DISTFILES} 22EXTRACT_ONLY= ${DEFAULT_DISTFILES}
23 23
24NOT_FOR_PLATFORM= Interix-*-* 24NOT_FOR_PLATFORM= Interix-*-*
@@ -29,26 +29,32 @@ USE_TOOLS+= gmake makeinfo sed:run @@ -29,26 +29,32 @@ USE_TOOLS+= gmake makeinfo sed:run
29GNU_CONFIGURE= yes 29GNU_CONFIGURE= yes
30## Build outside ${WRKSRC} 30## Build outside ${WRKSRC}
31OBJDIR= ../build 31OBJDIR= ../build
32CONFIGURE_DIRS= ${OBJDIR} 32CONFIGURE_DIRS= ${OBJDIR}
33CONFIGURE_SCRIPT= ../${DISTNAME}/configure 33CONFIGURE_SCRIPT= ../${DISTNAME}/configure
34GCC_SUBPREFIX= ${GCC_PKGNAME} 34GCC_SUBPREFIX= ${GCC_PKGNAME}
35GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX} 35GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX}
36GNU_CONFIGURE_PREFIX= ${GCC_PREFIX} 36GNU_CONFIGURE_PREFIX= ${GCC_PREFIX}
37INFO_FILES= yes 37INFO_FILES= yes
38 38
39UNLIMIT_RESOURCES+= datasize 39UNLIMIT_RESOURCES+= datasize
40UNLIMIT_RESOURCES+= stacksize 40UNLIMIT_RESOURCES+= stacksize
41 41
 42SUBST_CLASSES+= vars
 43SUBST_MESSAGE.vars= Setting target machine name path in ${SUBST_FILES.vars}
 44SUBST_STAGE.vars= pre-configure
 45SUBST_FILES.vars= gcc/Makefile.in
 46SUBST_VARS.vars= GCC_TARGET_MACHINE
 47
42.include "../../mk/bsd.prefs.mk" 48.include "../../mk/bsd.prefs.mk"
43 49
44LANGS= c  50LANGS= c
45 51
46# In some cases LINKER_RPATH_FLAG needs a trailing space. 52# In some cases LINKER_RPATH_FLAG needs a trailing space.
47LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /} 53LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /}
48 54
49## The Library rpath to use in end programs. 55## The Library rpath to use in end programs.
50LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*} 56LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
51 57
52# The "-static-libstdc++ -static-libgcc" flags are normally added to the 58# The "-static-libstdc++ -static-libgcc" flags are normally added to the
53# boot-ldflags by configure but because we are supply the boot-ldflags 59# boot-ldflags by configure but because we are supply the boot-ldflags
54# we mash supply them. 60# we mash supply them.