Package list openbox-menu / 1de16de debian / patches / debian_build.patch
1de16de

Tree @1de16de (Download .tar.gz)

debian_build.patch @1de16deraw · history · blame

Description: Make makefile compatible with Debian's standards.
Author: Mateusz Łukasik <mati75@linuxmint.pl>
Last-Update: 2017-08-07

--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
-LIBS= `pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache`
-CFLAGS+= -g -Wall `pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache`
+PKG_CONFIG ?= pkg-config
+LIBS= `$(PKG_CONFIG) --libs glib-2.0 gtk+-2.0 libmenu-cache`
+CFLAGS+= -g -Wall `$(PKG_CONFIG) --cflags glib-2.0 gtk+-2.0 libmenu-cache`
 CC=gcc
 #-DG_DISABLE_DEPRECATED
 
@@ -7,7 +8,7 @@
 CFLAGS+=-DWITH_ICONS
 # Uncomment this line if Openbox can display SVG icons 
 # Check SVG support with '$ ldd /usr/bin/openbox | grep svg', librsvg must appear..
-# CFLAGS+=-DWITH_SVG
+CFLAGS+=-DWITH_SVG
 
 prefix= /usr/local
 DESTDIR ?= $(prefix)
@@ -31,7 +32,6 @@
 	@rm -rf doc
 
 install:
-	@strip -s openbox-menu
 	@install -Dm 755 openbox-menu $(BINDIR)/openbox-menu
 
 doc: