summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-Gtk/files/patch-Gtk_Makefile.PL
blob: 026b558be973d8198285dea88fb8536499047901 (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
--- Gtk/Makefile.PL.orig	Mon Mar 12 02:44:49 2001
+++ Gtk/Makefile.PL	Mon Mar 12 02:55:54 2001
@@ -38,8 +38,8 @@
 	$threadl = "";
 }
 
-$libs = `gtk-config --libs $threadl`;
-$inc = `gtk-config --cflags $threadl`;
+$libs = `$ENV{GTK_CONFIG} --libs $threadl`;
+$inc = `$ENV{GTK_CONFIG} --cflags $threadl`;
 $libs =~ s/\s+/ /g;
 $inc =~ s/\s+/ /g;
 
@@ -192,14 +192,14 @@
 sub gtk_version {
 	my($result);
 
-	$result = `gtk-config --version`;
+	$result = `$ENV{GTK_CONFIG} --version`;
 	chomp $result;
 	return $result;
 }
 
 # build the keysyms mapping
 sub build_ksyms {
-	my ($incfile) = `gtk-config --prefix`;
+	my ($incfile) = `$ENV{GTK_CONFIG} --prefix`;
 	chomp($incfile);
 	$incfile .= "/include/gdk/gdkkeysyms.h";
 
OpenPOWER on IntegriCloud