Files
macports-ports/sysutils/blueutil/files/blueutil-Makefile.diff
Ryan Schmidt ee2e0e3c0a blueutil: Update to 2.8.0
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.
2021-03-23 06:35:38 -05:00

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