summaryrefslogtreecommitdiff
path: root/mail/p5-MIME-Fast/files/patch-Makefile.PL
blob: 4c82af272a40e42e92dcc373998aa20630c0edaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile.PL.orig	Thu Oct 16 13:01:46 2003
+++ Makefile.PL	Wed Dec  8 17:56:57 2004
@@ -6,6 +6,7 @@
 
 # my $libs = `pkg-config --libs gmime-2.0`;
 my $libs = `gmime-config --libs`;
+$libs =~ s/\-lgthread\-\d\.\d//;
 my $vers = `gmime-config --version`;
 
 if ($libs eq '') {
@@ -78,5 +79,5 @@
 	},
     'clean'             => { FILES => "gmime-version.h" },
     #    'INC'		=> `pkg-config --cflags gmime-2.0` # e.g., '-I/usr/include/other'
-    'INC'		=> "-I. -Icinclude " . `gmime-config --cflags`,
+    'INC'		=> "-I. -Icinclude -I$ENV{PREFIX}/include " . `gmime-config --cflags`,
 );