summaryrefslogtreecommitdiff
blob: 36897e5426654ed2b8a6840a4b5f879be6dc7c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- likwid-likwid-4.1.1/config.mk.org	2016-07-14 12:49:27.791771509 +0800
+++ likwid-likwid-4.1.1/config.mk	2016-07-14 12:51:27.470358158 +0800
@@ -15,9 +15,9 @@
 # Common users do not need to change values below this comment! #
 #################################################################
 
-MANPREFIX = $(PREFIX)/man#NO SPACE
+MANPREFIX = ${D}/usr/share/man#NO SPACE
 BINPREFIX = $(PREFIX)/bin#NO SPACE
-LIBPREFIX = $(PREFIX)/lib#NO SPACE
+LIBPREFIX = $(PREFIX)/$(get_libdir)#NO SPACE
 
 # These paths are hardcoded into executables and libraries. Usually
 # they'll be the same as above, but package maintainers may want to
@@ -26,9 +26,9 @@
 # Keep in mind that the access and setFreq daemon need enough
 # privileges that may be deleted when copying the files to
 # the INTSTALLED_PREFIX
-INSTALLED_PREFIX = $(PREFIX)#NO SPACE
+INSTALLED_PREFIX=/usr#NO SPACE
 INSTALLED_BINPREFIX = $(INSTALLED_PREFIX)/bin#NO SPACE
-INSTALLED_LIBPREFIX = $(INSTALLED_PREFIX)/lib#NO SPACE
+INSTALLED_LIBPREFIX = $(INSTALLED_PREFIX)/$(get_libdir)#NO SPACE
 
 # chown installed tools to this user/group
 # if you change anything here, make sure that the user/group can access
@@ -59,7 +59,7 @@
 FORTRAN_INTERFACE = false#NO SPACE
 
 # Instrument likwid-bench for use with likwid-perfctr
-INSTRUMENT_BENCH = false#NO SPACE
+INSTRUMENT_BENCH = true#NO SPACE
 
 # Use recommended Portable Hardware Locality (hwloc) instead of CPUID
 USE_HWLOC = true#NO SPACE
@@ -80,6 +80,6 @@
 DATE    = 19.05.2016
 
 RPATHS = -Wl,-rpath=$(INSTALLED_LIBPREFIX)
-LIBLIKWIDPIN = $(abspath $(INSTALLED_PREFIX)/lib/liblikwidpin.so.$(VERSION).$(RELEASE))
+LIBLIKWIDPIN = $(abspath $(PREFIX)/$(get_libdir)/liblikwidpin.so)
 LIKWIDFILTERPATH = $(abspath $(INSTALLED_PREFIX)/share/likwid/filter)
 LIKWIDGROUPPATH = $(abspath $(INSTALLED_PREFIX)/share/likwid/perfgroups)