source: patches/libpng-1.2.7-fix_pc_for_biarch.patch@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 1.1 KB
  • scripts/libpng.pc.in

    Submitted By: Ryan Oliver <ryan.oliver AT pha.com.au>
    Date: 2004-10-28
    Initial Package Version: 1.2.7
    Origin: Ryan Oliver
    Description: Patch ensures generated pkgconfig file points to the correct
      location for the installed libraries
    diff -uNr libpng-1.2.7-orig/scripts/libpng.pc.in libpng-1.2.7/scripts/libpng.pc.in
    old new  
    11
    22prefix=@PREFIX@
    33exec_prefix=${prefix}
    4 libdir=${exec_prefix}/lib
     4libdir=@LIBPATH@
    55includedir=${exec_prefix}/include
    66
    77Name: libpng12
  • scripts/makefile.linux

    diff -uNr libpng-1.2.7-orig/scripts/makefile.linux libpng-1.2.7/scripts/makefile.linux
    old new  
    7878        $(RANLIB) $@
    7979
    8080libpng.pc:
    81         cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
     81        cat scripts/libpng.pc.in | \
     82        sed -e s\!@PREFIX@!$(prefix)! \
     83            -e s\!@LIBPATH@!$(LIBPATH)! > libpng.pc
    8284
    8385libpng-config:
    8486        ( cat scripts/libpng-config-head.in; \
Note: See TracBrowser for help on using the repository browser.