gentoo/dev-libs/librepfunc/files/librepfunc-1.10.0-makefile.patch
Martin Dummer 3356841e3b
dev-libs/librepfunc: new package, add 1.10.0
new tool library for a handful of media-plugins/vdr-* plugins

Bug: https://bugs.gentoo.org/963697
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/44040
Closes: https://github.com/gentoo/gentoo/pull/44040
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-05 01:49:08 +01:00

21 lines
840 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@
#/******************************************************************************
# * if you prefer verbose non-coloured build messages, remove the '@' here:
# *****************************************************************************/
-CXX = @g++
+CXX ?= $(CXX)
CXXFLAGS += -g -O3 -fPIC -Wall -Wextra -Werror=overloaded-virtual -Wfatal-errors
CXXFLAGS += -DVERSION=\"$(VERSION)\"
DEFINES = -D_POSIX_C_SOURCE
@@ -44,7 +44,7 @@
# * packages instead of fixing your broken distro, you may overwrite the
# * package_name here.
# *****************************************************************************/
-package_name ?= $(LIBRARY_PATCH)
+package_name ?= librepfunc-$(MAJOR).$(MINOR).$(PATCH)
#/******************************************************************************