pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc47
Module Name: pkgsrc
Committed By: dholland
Date: Mon Oct 31 04:10:38 UTC 2016
Modified Files:
pkgsrc/lang/gcc47: Makefile
Log Message:
Apply Sevan's patch for OS X Tiger PowerPC from PR 48936, since he hasn't
got around to doing it himself.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/gcc47/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/gcc47/Makefile
diff -u pkgsrc/lang/gcc47/Makefile:1.40 pkgsrc/lang/gcc47/Makefile:1.41
--- pkgsrc/lang/gcc47/Makefile:1.40 Tue Sep 6 16:28:48 2016
+++ pkgsrc/lang/gcc47/Makefile Mon Oct 31 04:10:38 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2016/09/06 16:28:48 maya Exp $
+# $NetBSD: Makefile,v 1.41 2016/10/31 04:10:38 dholland Exp $
GCC_PKGNAME= gcc47
.include "version.mk"
@@ -23,7 +23,7 @@ EXTRACT_ONLY= ${DEFAULT_DISTFILES}
NOT_FOR_PLATFORM= Interix-*-*
-USE_TOOLS+= gmake makeinfo sed:run
+USE_TOOLS+= gmake makeinfo sed:run perl
GCC_REQD+= 4.4
GNU_CONFIGURE= yes
@@ -47,7 +47,7 @@ SUBST_VARS.vars= GCC_TARGET_MACHINE
.include "../../mk/bsd.prefs.mk"
-LANGS= c
+LANGS= c c++
# In some cases LINKER_RPATH_FLAG needs a trailing space.
LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /}
@@ -100,6 +100,15 @@ CONFIGURE_ARGS.DragonFly+= --disable-boo
# build fails for missing files.
CONFIGURE_ARGS.Darwin+= STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip}
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+CONFIGURE_ARGS+= --with-dwarf2
+CONFIGURE_ARGS+= --disable-libitm
+.endif
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+CONFIGURE_ARGS+= --disable-multilib
+.endif
+
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
CONFIGURE_ARGS+= --with-arch=i486 --with-tune=i486
.endif
@@ -115,6 +124,10 @@ SUBST_SED.fixinc= -e "s,\./fixinc.sh,-c
.include "options.mk"
+.if !empty(PKG_OPTIONS:Mgcc-go) && !empty(MACHINE_PLATFORM:MDarwin-*-*)
+BROKEN+= Doesn't work on Darwin, GCC bugzilla ID 46986
+.endif
+
# ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into
# a binary so we need to make sure we give it the installed sed and not
# the tool wrapped one.
Home |
Main Index |
Thread Index |
Old Index