File: cross.patch

package info (click to toggle)
gamine 1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,740 kB
  • sloc: ansic: 564; makefile: 77; sh: 16
file content (18 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: gamine-1.5/Makefile
===================================================================
--- gamine-1.5.orig/Makefile
+++ gamine-1.5/Makefile
@@ -10,10 +10,11 @@
 LOCALEDIR = $(DATADIR)/locale
 MANDIR = $(DATADIR)/man/man6
 
+PKG_CONFIG ?= pkg-config
 CFLAGS = -Wall -g `dpkg-buildflags --get CFLAGS`
-CPPFLAGS = $(shell pkg-config --cflags gtk+-3.0 cairo glib-2.0 gstreamer-1.0)  -DDATADIR=\""$(PKGDATADIR)"\"  -DLOCALDIR=\""$(LOCALEDIR)"\" -DSYSCONFDIR=\""$(SYSCONFDIR)"\"
+CPPFLAGS = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 cairo glib-2.0 gstreamer-1.0)  -DDATADIR=\""$(PKGDATADIR)"\"  -DLOCALDIR=\""$(LOCALEDIR)"\" -DSYSCONFDIR=\""$(SYSCONFDIR)"\"
 CPPFLAGS += `dpkg-buildflags --get CPPFLAGS`
-LDLIBS = $(shell pkg-config --libs gtk+-3.0 cairo glib-2.0 gstreamer-1.0)  -DDATADIR=\""$(PKGDATADIR)"\"  -DLOCALDIR=\""$(LOCALEDIR)"\" -DSYSCONFDIR=\""$(SYSCONFDIR)"\" -lm
+LDLIBS = $(shell $(PKG_CONFIG) --libs gtk+-3.0 cairo glib-2.0 gstreamer-1.0)  -DDATADIR=\""$(PKGDATADIR)"\"  -DLOCALDIR=\""$(LOCALEDIR)"\" -DSYSCONFDIR=\""$(SYSCONFDIR)"\" -lm
 LDFLAGS = `dpkg-buildflags --get LDFLAGS`
 CC = gcc
 target = gamine