summaryrefslogtreecommitdiff
path: root/dev-libs/librepfunc/files/librepfunc-1.10.0-makefile.patch
blob: 8e09d74357a70e77797718087b6b3340f3670fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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)
 
 
 #/******************************************************************************