head 1.3; access; symbols pkgsrc-2026Q2:1.1.0.20 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.18 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.16 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.14 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.12 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.10 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.8 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.6 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2026.08.18.10.07.28; author adam; state Exp; branches; next 1.2; commitid wehBct9B4NTfx6SG; 1.2 date 2026.07.21.13.47.57; author ryoon; state Exp; branches; next 1.1; commitid 8BcsRRsf3kcFEwOG; 1.1 date 2024.01.26.12.58.05; author wiz; state Exp; branches; next ; commitid W2Eg127rpLX4xXVE; desc @@ 1.3 log @mbrola: fix build on Darwin and do not add -O6 @ text @$NetBSD: patch-Makefile,v 1.2 2026/07/21 13:47:57 ryoon Exp $ * Allow CC override. * Let pkgsrc define CC, optimisation, and don't force endianess. * Honor LDFLAGS. If is provided by pkgsrc framework. --- Makefile.orig 2019-12-17 16:05:14.000000000 +0000 +++ Makefile @@@@ -4,7 +4,7 @@@@ VERSION=3.3 # To test strict C ANSI compliance -CC = gcc -ansi -pedantic +CC ?= gcc -ansi -pedantic LIB= -lm # This allow you to write commands like "make PURE=purify demo1" @@@@ -26,14 +26,14 @@@@ CCPURE = $(PURE) $(CC) # If endianess of your machine is not automatically detected in Misc/common.h # you should manually specify here -CFLAGS += -DLITTLE_ENDIAN +#CFLAGS += -DLITTLE_ENDIAN #CFLAGS += -DBIG_ENDIAN ####################### # GENERAL FLAGS FOR GCC # Optimized code -CFLAGS += -O6 +#CFLAGS += -O6 # Debug mode with gdb #CFLAGS += -g @@@@ -128,7 +128,7 @@@@ BINOBJS = $(BINSRCS:%.c=Bin/Standalone/% PROJ = mbrola $(PROJ): install_dir $(BINOBJS) - $(CCPURE) $(CFLAGS) -o $(MBRDIR)/$(PROJ) $(BINOBJS) $(LIB) + $(CCPURE) $(CFLAGS) $(LDFLAGS) -o $(MBRDIR)/$(PROJ) $(BINOBJS) $(LIB) clean: \rm -f $(MBRDIR)/$(PROJ) $(PROJ).a core demo* TAGS $(BIN)/lib*.o $(BINOBJS) @ 1.2 log @audio/mbrola: Honor LDFLAGS * And fill comments. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2024/01/26 12:58:05 wiz Exp $ d4 1 a4 1 * Let pkgsrc define CC and don't force endianess. d9 1 a9 1 @@@@ -4,7 +4,7 @@@@ VERSION=3.3 d18 1 a18 1 @@@@ -26,7 +26,7 @@@@ CCPURE = $(PURE) $(CC) d27 9 a35 1 @@@@ -128,7 +128,7 @@@@ $(PROJ): install_dir $(BINOBJS) @ 1.1 log @mbrola: update to 3.3. Packaged in wip by adr MBROLA is now an open source project, this port replaces the old x86 binary one First open source release @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 Let pkgsrc define CC and don't force endianess. d9 1 a9 1 @@@@ -4,7 +4,7 @@@@ d27 9 @