aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xcdroast/files/patch-Makefile
blob: 78fcebcbbe80d72381227a91cd3b6a56c7e65028 (plain) (blame)
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
--- Makefile.orig   Tue Apr 23 21:23:10 2002
+++ Makefile    Fri May 17 16:32:22 2002
@@ -6,13 +6,13 @@
 # Installation prefix directory:
 
 #PREFIX=/usr
-PREFIX=/usr/local
+PREFIX=%%PREFIX%%
 PRE_LIBDIR=$(PREFIX)/lib/xcdroast-0.98
 
 # put here the prefix where you want xcdroast to look for 
 # cdrecord/mkisofs/readcd/cdda2wav. 
 # e.g. /usr
-CDRTOOLS_PREFIX=$(PREFIX)
+CDRTOOLS_PREFIX=%%LOCALBASE%%
 
 # for linux
 INSTALL=/usr/bin/install -c
@@ -29,11 +29,11 @@
 
 #---
 
-CFLAGS=-Wall `gtk-config --cflags` `gdk-pixbuf-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS)
-CFLAGS2=-Wall `glib-config --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS)
+CFLAGS=-Wall `${GTK_CONFIG} --cflags` `gdk-pixbuf-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS)
+CFLAGS2=-Wall `${GLIB_CONFIG} --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS)
 
-LIBS=`gtk-config --libs` `gdk-pixbuf-config --libs` 
-TOOLLIBS=`gtk-config --libs`
+LIBS=`${GTK_CONFIG} --libs` `gdk-pixbuf-config --libs` 
+TOOLLIBS=`${GTK_CONFIG} --libs`
 CC=cc
 
 OBJ = main.o language.o init.o tools.o xtools.o menus.o setup.o io.o duplicate.o wav_frontend.o wav_id.o create.o