openbsd-ports/graphics/png/patches/patch-scripts_libpng_pc_in

17 lines
510 B
Plaintext
Raw Normal View History

$OpenBSD: patch-scripts_libpng_pc_in,v 1.3 2006/05/10 13:50:01 bernd Exp $
--- scripts/libpng.pc.in.orig Fri Mar 3 03:48:03 2006
+++ scripts/libpng.pc.in Tue May 9 14:57:35 2006
@@ -1,10 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@/libpng@PNGLIB_MAJOR@
+includedir=@includedir@
Name: libpng
Description: Loads and saves PNG files
Version: @PNGLIB_VERSION@
-Libs: -L${libdir} -lpng@PNGLIB_MAJOR@
+Libs: -L${libdir} -lpng -lz -lm
Cflags: -I${includedir}