Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26758/experimental/dmacks/finkinfo

Added Files:
        locale-textdomain-pm.info locale-textdomain-pm.patch 
Log Message:
from 10.[78]

--- NEW FILE: locale-textdomain-pm.patch ---
diff -ru libintl-perl-1.20.orig/Makefile.PL libintl-perl-1.20/Makefile.PL
--- libintl-perl-1.20.orig/Makefile.PL  2009-06-24 06:53:30.000000000 -0400
+++ libintl-perl-1.20/Makefile.PL       2012-02-02 17:23:54.000000000 -0500
@@ -87,7 +87,7 @@
 }
 EOF
 
-my $cc = $Config{cc};
+my $cc = 'gcc -IFINKPATH/include -LFINKPATH/lib';
 
 print STDERR "Checking whether we can compile the XS version ... ";
 local *HANDLE;
diff -ru libintl-perl-1.20.orig/gettext_xs/Makefile.PL 
libintl-perl-1.20/gettext_xs/Makefile.PL
--- libintl-perl-1.20.orig/gettext_xs/Makefile.PL       2009-06-23 
03:04:48.000000000 -0400
+++ libintl-perl-1.20/gettext_xs/Makefile.PL    2012-02-02 17:22:15.000000000 
-0500
@@ -38,7 +38,8 @@
     ),
     PREREQ_PM => { File::Spec => 0 },
        PL_FILES        => {},
-       LIBS => ['-lintl -liconv'],
+       LIBS => ['-LFINKPATH/lib -lintl -liconv'],
+       INC => '-IFINKPATH/include',
 );
 
 __END__

--- NEW FILE: locale-textdomain-pm.info ---
Info2: <<
Package: locale-textdomain-pm%type_pkg[perl]
Version: 1.20
Revision: 3
Depends: perl%type_pkg[perl]-core, libgettext8-shlibs, libiconv
Builddepends: fink (>= 0.24.12), libgettext8-dev, libiconv-dev
Replaces: libintl-pm%type_pkg[perl]
Source: mirror:cpan:authors/id/G/GU/GUIDO/libintl-perl-%v.tar.gz
Source-MD5: cb36f58a7d2e15974f25b35381548b1b
Type: perl (5.12.3 5.12.4)

PatchFile: %{ni}.patch
PatchFile-MD5: 81cabb1a3814d51dc64a7cdd286fe130
PatchScript: sed "s|FINKPATH|%p|g" < %{PatchFile} | patch -p1

InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
DocFiles: README FAQ
UpdatePOD: true
Description: Perl module for string internationalization
DescDetail: <<
This package is an internationalization library for Perl
that aims to be compatible with the Uniforum message translations
system as implemented for example in GNU gettext.

This package is also called: libintl-perl[-xs]. It installs the native
gettext_xs extension.
<<

DescPackaging: <<
        Former maintainer: Matthias Ringwald <frec...@users.sourceforge.net>

libintl not found during linking so gettext_xs not build properly
Added FINKPATH/lib to LIBS in gettext_xs/Makefile.PL
<<

License: Artistic
Maintainer: Daniel Macks <dma...@netspace.org>
Homepage: http://freshmeat.net/projects/libintl-perl

<<


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to