openbsd-ports/graphics/hugin/patches/patch-CMakeModules_FindPNG_cmake

12 lines
404 B
Plaintext
Raw Normal View History

$OpenBSD: patch-CMakeModules_FindPNG_cmake,v 1.4 2012/10/12 21:44:51 sthen Exp $
--- CMakeModules/FindPNG.cmake.orig Tue Oct 9 02:08:28 2012
+++ CMakeModules/FindPNG.cmake Tue Oct 9 02:08:28 2012
@@ -22,6 +22,7 @@ SET(PNG_FOUND "NO")
IF (ZLIB_FOUND)
FIND_PATH(PNG_INCLUDE_DIR png.h
+ ${LOCALBASE}/include/libpng
/usr/local/include
/usr/include
${SOURCE_BASE_DIR}/libpng/include