pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48938: Fix lang/gcc45 on OS X Tiger PowerPC
>Number: 48938
>Category: pkg
>Synopsis: Fix lang/gcc45 on OS X Tiger PowerPC
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Jun 22 15:25:00 +0000 2014
>Originator: Sevan
>Release: pkgsrc-current 20/6/2014
>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 allows lang/gcc45 to build on OS X Tiger a PowerBook G4.
The patch sets the following:
1) Use DWARF2 as the multistage tests fail otherwise.
2) Don't build multilib support on a 32bit PowerPC system because 64bit
binaries are not going to work.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc45/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 29 May 2014 23:36:42 -0000 1.16
+++ Makefile 22 Jun 2014 14:22:35 -0000
@@ -89,6 +89,14 @@
CONFIGURE_ARGS+= STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip}
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+CONFIGURE_ARGS+= --with-dwarf2
+.endif
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+CONFIGURE_ARGS+= --disable-multilib
+.endif
+
CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}
MAKE_ENV+= SHELL=${CONFIG_SHELL}
Home |
Main Index |
Thread Index |
Old Index