freebsd-ports/mail/p5-MIME-Fast/files/patch-Makefile.PL
Sergey Skvortsov b285e1b086 Add p5-MIME-Fast 1.4,
create, edit and parse MIME messages (via
gmime2 C library).
2004-12-08 15:04:26 +00:00

17 lines
592 B
Perl

--- 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`,
);