FTCBFS: uses the build architecture pkg-config (Closes: #871404)
Mateusz Łukasik
6 years ago
|
0 |
openbox-menu (0.8.0-2) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
[ Helmut Grohne ]
|
|
3 |
* Fix FTCBFS: (Closes: #871404)
|
|
4 |
+ Make pkg-config substitutable.
|
|
5 |
+ Do not strip during install.
|
|
6 |
|
|
7 |
-- Helmut Grohne <helmut@subdivi.de> Mon, 07 Aug 2017 19:37:41 +0200
|
|
8 |
|
0 | 9 |
openbox-menu (0.8.0-1) unstable; urgency=medium
|
1 | 10 |
|
2 | 11 |
* New upstream release. (Closes: #797016, #797022, #797241)
|
0 | 0 |
Description: Make makefile compatible with Debian's standards.
|
1 | 1 |
Author: Mateusz Łukasik <mati75@linuxmint.pl>
|
2 | |
Last-Update: 2013-11-30
|
|
2 |
Last-Update: 2017-08-07
|
3 | 3 |
|
4 | 4 |
--- a/Makefile
|
5 | 5 |
+++ b/Makefile
|
6 | |
@@ -7,7 +7,7 @@ CC=gcc
|
|
6 |
@@ -1,5 +1,6 @@
|
|
7 |
-LIBS= `pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache`
|
|
8 |
-CFLAGS+= -g -Wall `pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache`
|
|
9 |
+PKG_CONFIG ?= pkg-config
|
|
10 |
+LIBS= `$(PKG_CONFIG) --libs glib-2.0 gtk+-2.0 libmenu-cache`
|
|
11 |
+CFLAGS+= -g -Wall `$(PKG_CONFIG) --cflags glib-2.0 gtk+-2.0 libmenu-cache`
|
|
12 |
CC=gcc
|
|
13 |
#-DG_DISABLE_DEPRECATED
|
|
14 |
|
|
15 |
@@ -7,7 +8,7 @@
|
7 | 16 |
CFLAGS+=-DWITH_ICONS
|
8 | 17 |
# Uncomment this line if Openbox can display SVG icons
|
9 | 18 |
# Check SVG support with '$ ldd /usr/bin/openbox | grep svg', librsvg must appear..
|
|
12 | 21 |
|
13 | 22 |
prefix= /usr/local
|
14 | 23 |
DESTDIR ?= $(prefix)
|
|
24 |
@@ -31,7 +32,6 @@
|
|
25 |
@rm -rf doc
|
|
26 |
|
|
27 |
install:
|
|
28 |
- @strip -s openbox-menu
|
|
29 |
@install -Dm 755 openbox-menu $(BINDIR)/openbox-menu
|
|
30 |
|
|
31 |
doc:
|