mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Closes: https://trac.macports.org/ticket/62514 Use the makefile portgroup to use the right compiler and -arch flags. Don't patch the makefile to change the prefix since the makefile is set up to accommodate changing the prefix via command line argument. Do patch the makefile to remove -Werror which we never want and to append to MacPorts flags rather than overwrite them. Since the build fails for i386 and since the port already requires 10.9 or greater, remove i386, ppc, and ppc64 from supported_archs.
10 lines
411 B
Diff
10 lines
411 B
Diff
Append to CFLAGS; don't overwrite them. Don't use -Werror.
|
|
--- Makefile.orig 2021-03-21 17:05:45.000000000 -0500
|
|
+++ Makefile 2021-03-23 06:20:03.000000000 -0500
|
|
@@ -1,4 +1,4 @@
|
|
-CFLAGS = -Wall -Wextra -Werror -mmacosx-version-min=10.9 -framework Foundation -framework IOBluetooth
|
|
+CFLAGS += -Wall -Wextra -mmacosx-version-min=10.9 -framework Foundation -framework IOBluetooth
|
|
|
|
DESTDIR =
|
|
prefix = /usr/local
|