public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bonnie++] f43: Modernize Makefile: support LDFLAGS and DESTDIR
@ 2026-05-30 18:13 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-05-30 18:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bonnie++
Branch : f43
Commit : 89104ec3657b34c9900e091b7612e3eef85975f3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-03-14T12:24:20-03:00
Stats : +2/-35 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bonnie++/c/89104ec3657b34c9900e091b7612e3eef85975f3?branch=f43
Log:
Modernize Makefile: support LDFLAGS and DESTDIR
---
diff --git a/bonnie++-makefile.patch b/bonnie++-makefile.patch
deleted file mode 100644
index bf94fbd..0000000
--- a/bonnie++-makefile.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- bonnie++-1.96.orig/Makefile.in 2009-12-09 10:01:09.000000000 -0500
-+++ bonnie++-1.96/Makefile.in 2009-12-09 10:02:33.000000000 -0500
-@@ -17,6 +17,8 @@ THREAD_LFLAGS=@thread_ldflags@
- INSTALL=@INSTALL@
- INSTALL_PROGRAM=@INSTALL_PROGRAM@
-
-+DESTDIR=
-+
- BONSRC=bonnie++.cpp bon_io.cpp bon_file.cpp bon_time.cpp semaphore.cpp \
- sync.cpp thread.cpp bon_suid.cpp duration.cpp rand.o util.o
- BONOBJS=$(BONSRC:.cpp=.o)
-@@ -52,15 +54,15 @@ generate_randfile: generate_randfile.o
- $(LINK) generate_randfile.o -o generate_randfile
-
- install-bin: $(EXE) $(EXES)
-- mkdir -p $(eprefix)/bin $(eprefix)/sbin
-- @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin
-- @INSTALL_PROGRAM@ @stripping@ $(EXE) $(eprefix)/bin
-- @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin
-+ mkdir -p $(DESTDIR)$(eprefix)/bin $(DESTDIR)$(eprefix)/bin
-+ @INSTALL_PROGRAM@ @stripping@ $(EXES) $(DESTDIR)$(eprefix)/bin
-+ @INSTALL_PROGRAM@ @stripping@ $(EXE) $(DESTDIR)$(eprefix)/bin
-+ @INSTALL_SCRIPT@ $(SCRIPTS) $(DESTDIR)$(eprefix)/bin
-
- install: install-bin
-- mkdir -p @mandir@/man1 @mandir@/man8
-- @INSTALL_DATA@ $(MAN1) @mandir@/man1
-- @INSTALL_DATA@ $(MAN8) @mandir@/man8
-+ mkdir -p $(DESTDIR)@mandir@/man1 $(DESTDIR)@mandir@/man8
-+ @INSTALL_DATA@ $(MAN1) $(DESTDIR)@mandir@/man1
-+ @INSTALL_DATA@ $(MAN8) $(DESTDIR)@mandir@/man8
-
- %.o: %.cpp
- $(CXX) -c $<
diff --git a/bonnie++.spec b/bonnie++.spec
index 2495153..1fb5d25 100644
--- a/bonnie++.spec
+++ b/bonnie++.spec
@@ -6,7 +6,8 @@ Summary: Filesystem and disk benchmark & burn-in suite
License: GPL-2.0-only
URL: http://www.coker.com.au/bonnie++/
Source0: http://www.coker.com.au/bonnie++/experimental/bonnie++-%{version}.tgz
-Patch0: %{name}-makefile.patch
+# Modernize Makefile: support LDFLAGS and DESTDIR
+Patch0: %{name}-makefile-modernize.patch
# Fix build warnings (mismatched-dealloc, format-overflow, etc.)
Patch1: %{name}-2.00a-warnings.patch
# Address security issue: missing-call-to-setgroups-before-setuid
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-30 18:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 18:13 [rpms/bonnie++] f43: Modernize Makefile: support LDFLAGS and DESTDIR Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox