OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   21-Apr-2004 15:42:37
  Branch: OPENPKG_2_0_SOLID                Handle: 2004042114423700

  Modified files:           (Branch: OPENPKG_2_0_SOLID)
    openpkg-src/perl-gd     perl-gd.spec

  Log:
    MFC: fix building of GD

  Summary:
    Revision    Changes     Path
    1.68.2.2    +15 -2      openpkg-src/perl-gd/perl-gd.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-gd/perl-gd.spec
  ============================================================================
  $ cvs diff -u -r1.68.2.1 -r1.68.2.2 perl-gd.spec
  --- openpkg-src/perl-gd/perl-gd.spec  18 Feb 2004 14:50:52 -0000      1.68.2.1
  +++ openpkg-src/perl-gd/perl-gd.spec  21 Apr 2004 13:42:37 -0000      1.68.2.2
  @@ -47,7 +47,7 @@
   Group:        Language
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      2.0.0
  +Release:      2.0.1
   
   #   list of sources
   Source0:      http://www.cpan.org/modules/by-module/GD/GD-%{V_gd}.tar.gz
  @@ -152,7 +152,20 @@
   
   %install
       %{l_prefix}/bin/perl-openpkg prepare
  -    %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
  +    ( cd GD-%{V_gd}
  +      %{l_shtool} subst \
  +          -e 's/\(@INC     = qw(\).*\();\)/\1\2/' \
  +          -e 's/\(@LIBPATH = qw(\).*\();\)/\1\2/' \
  +          Makefile.PL
  +      %{l_prefix}/bin/perl-openpkg \
  +          -A '-options       JPEG,FT' \
  +          -A '-lib_gd_path   %{l_prefix}' \
  +          -A '-lib_png_path  %{l_prefix}' \
  +          -A '-lib_zlib_path %{l_prefix}' \
  +          -A '-lib_jpeg_path %{l_prefix}' \
  +          -A '-lib_ft_path   %{l_prefix}' \
  +          configure build install
  +    ) || exit $?
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to