Opened 19 years ago
Closed 19 years ago
#8957 closed defect (fixed)
BUG: wrong libpng12.pc generated by libpng 1.12.0 port
Reported by: | pelopor@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | waqar@…, vincent-opdarw@… | |
Port: |
Description
I have just installed the new libpng 1.2.10 port on my PB G4. After that some other port depending on it go into mess. I tried to reinstall those ports without success. Then I found that the 'libpng12.pc' file generated by DP in ${prefix}/lib/pkgconfig is really wrong. It reads:
prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@/libpng@PNGLIB_MAJOR@
Name: libpng Description: Loads and saves PNG files Version: @PNGLIB_VERSION@ Libs: -L${libdir} -lpng@PNGLIB_MAJOR@ Cflags: -I${includedir}
It shoud be like:
prefix=/opt/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include/libpng12
Name: libpng Description: Loads and saves PNG files Version: 1.2.10 Libs: -L${libdir} -lpng12 Cflags: -I${includedir}
Then I looked into Portfile, then libpng's src, to find 'libpng-1.2.10/scripts/makefile.darwin' scritp has no effect to generate 'libpng12.pc' correctly. It is necessary to patch or manipulate that make file (or libpng-1.2.10/scripts/libpng.pc.in').
Attachments (1)
Change History (3)
comment:1 Changed 19 years ago by vincent-opdarw@…
Cc: | vincent-opdarw@… added |
---|
Changed 19 years ago by pelopor@…
Attachment: | libpng_Portfile.diff added |
---|
comment:2 Changed 19 years ago by pelopor@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch file for libpng 1.2.10 port