ports/www/mongrel2/files/patch-Makefile
Dmitry Marakasov 5eab7858e2 - Add LICENSE_FILE
- Mark BROKEN on armv6, mips and mips64 (does not build)
- Mark MAKE_JOBS_UNSAFE
- Fix build on head (rename fdclose())
- Strip binaries
- Respect CFLAGS
- Simplify examples installation and plist handling
- Drop @dirrm* from plist

Submitted by:	amdmi3
Approved by:	vg (maintainer)
2015-08-04 18:41:35 +00:00

10 lines
411 B
Text

--- Makefile.orig 2011-06-22 16:25:12 UTC
+++ Makefile
@@ -1,5 +1,5 @@
-CFLAGS=-g -O2 -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
-LIBS=-lzmq -ldl -lsqlite3 $(OPTLIBS)
+CFLAGS+=-Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
+LIBS=-lzmq -lsqlite3 $(OPTLIBS)
PREFIX?=/usr/local
get_objs = $(addsuffix .o,$(basename $(wildcard $(1))))