openbsd-ports/databases/redis/patches/patch-src_Makefile
simon 52c7985789 update to version 2.2.2
with tweaks from dcoppa@ (maintainer)
2011-03-21 19:58:28 +00:00

22 lines
604 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.1 2011/03/21 19:58:28 simon Exp $
--- src/Makefile.orig Fri Mar 4 16:31:20 2011
+++ src/Makefile Sun Mar 20 18:05:46 2011
@@ -21,7 +21,7 @@ ifeq ($(USE_TCMALLOC),yes)
endif
CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF)
-PREFIX= /usr/local
+PREFIX?= /usr/local
INSTALL_BIN= $(PREFIX)/bin
INSTALL= cp -p
@@ -142,7 +142,7 @@ dep:
$(CC) -MM *.c
test: redis-server
- (cd ..; tclsh8.5 tests/test_helper.tcl --tags "${TAGS}" --file "${FILE}")
+ (cd ..; ulimit -Sn 192; ${TCL_BIN} tests/test_helper.tcl --tags "${TAGS}" --file "${FILE}")
bench:
./redis-benchmark