1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/misc/libeatmydata/files/patch-Makefile
Philip M. Gollucci 90d8d127ca libeatmydata is a small LD_PRELOAD library designed to (transparently) disable
fsync (and friends, like open(O_SYNC)). This has two side-effects: making
software that writes data safely to disk a lot quicker and making this
software no longer crash safe.

DO NOT use libeatmydata on software where you care about what it
stores. It's called libEAT-MY-DATA for a reason.

PR:		ports/142892
Submitted by:	Attila Nagy <bra at fsn.hu>
2010-02-11 20:59:20 +00:00

16 lines
528 B
Plaintext

--- Makefile.orig 2010-01-16 20:34:10.000000000 +0100
+++ Makefile 2010-01-16 20:38:43.000000000 +0100
@@ -1,10 +1,10 @@
-all: libs fsynctest
+all: libs
clean:
rm -f libeatmydata.so* fsynctest
libs: eatmydata.c
- gcc -shared -Wl,-soname,libeatmydata.so.1 -ldl -o libeatmydata.so.1.0 eatmydata.c -fPIC
+ gcc -shared -Wl,-soname,libeatmydata.so.1 -o libeatmydata.so.1.0 eatmydata.c -fPIC
@rm -f libeatmydata.so.1 libeatmydata.so
ln -s libeatmydata.so.1.0 libeatmydata.so.1
ln -s libeatmydata.so.1 libeatmydata.so