mongrel2: update to 1.13.0
[openadk.git] / package / mongrel2 / patches / patch-Makefile
blob14ede92ab3222a3f6b79733b7dd733dd0c5c0af6
1 --- mongrel2-v1.13.0.orig/Makefile      2021-12-25 01:03:28.000000000 +0100
2 +++ mongrel2-v1.13.0/Makefile   2024-02-22 19:19:16.724583955 +0100
3 @@ -2,7 +2,7 @@ CFLAGS?=-g -O2
4  CFLAGS += -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread
5  CFLAGS += ${OPTFLAGS}
6  LIBS+=-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
7 -PREFIX?=/usr/local
8 +PREFIX?=/usr
9  
10  get_objs = $(addsuffix .o,$(basename $(wildcard $(1))))
12 @@ -18,7 +18,7 @@ TEST_SRC=$(wildcard tests/*_tests.c)
13  TESTS=$(patsubst %.c,%,${TEST_SRC})
14  MAKEOPTS=OPTFLAGS="${CFLAGS} ${NOEXTCFLAGS} ${OPTFLAGS}" LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" DESTDIR="${DESTDIR}" PREFIX="${PREFIX}"
16 -all: bin/mongrel2 tests m2sh procer
17 +all: bin/mongrel2 m2sh procer
19  ${OBJECTS_NOEXT}: CFLAGS += ${NOEXTCFLAGS}
20  ${OBJECTS}: | builddirs