pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49178: Unbreak lang/gcc49 on OS X Tiger



>Number:         49178
>Category:       pkg
>Synopsis:       Unbreak lang/gcc49 on OS X Tiger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 07 03:15:00 +0000 2014
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; 
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Attached patch applies changes as per PR/48740 for gcc45 & 46
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc49/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    5 Sep 2014 20:38:54 -0000       1.2
+++ Makefile    7 Sep 2014 02:47:24 -0000
@@ -91,6 +91,15 @@
 CONFIGURE_ARGS+=       STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip}
 .endif
 
+.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



Home | Main Index | Thread Index | Old Index