source: scripts/patches/libpng-1.2.7-fix_pc_for_biarch.patch@ f6180d2

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f6180d2 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • 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.