diff -ruN /usr/ports/graphics/png/Makefile ./Makefile --- /usr/ports/graphics/png/Makefile 2013-07-07 12:55:10.000000000 +0300 +++ ./Makefile 2013-07-07 13:35:48.000000000 +0300 @@ -1,5 +1,5 @@ # Created by: ache -# $FreeBSD: graphics/png/Makefile 322425 2013-07-07 09:55:10Z dinoex $ +# $FreeBSD: head/graphics/png/Makefile 322425 2013-07-07 09:55:10Z dinoex $ PORTNAME= png PORTVERSION= 1.5.17 @@ -31,10 +31,6 @@ .include -.if defined(WITH_DEBUG) -BROKEN= Please remove WITH_DEBUG for this port -.endif - .if ${PORT_OPTIONS:MAPNG} || make(makesum) || defined(FETCH_ALL) MASTER_SITES+= SF/apng/libpng/libpng15/:apng DISTFILES+= ${DISTNAME}-apng.patch.gz:apng diff -ruN /usr/ports/graphics/png/files/patch-CMakeLists.txt ./files/patch-CMakeLists.txt --- /usr/ports/graphics/png/files/patch-CMakeLists.txt 1970-01-01 02:00:00.000000000 +0200 +++ ./files/patch-CMakeLists.txt 2013-07-07 13:32:18.000000000 +0300 @@ -0,0 +1,12 @@ +--- CMakeLists.txt~ 2013-07-07 13:31:51.000000000 +0300 ++++ CMakeLists.txt 2013-07-07 13:32:01.000000000 +0300 +@@ -59,9 +59,6 @@ + # SET LIBNAME + set(PNG_LIB_NAME png${PNGLIB_MAJOR}${PNGLIB_MINOR}) + +-# to distinguish between debug and release lib +-set(CMAKE_DEBUG_POSTFIX "d") +- + # Use the prebuilt pnglibconf.h file from the scripts folder + # TODO: fix this by building with awk; without this no cmake build can be + # configured directly (to do so indirectly use your local awk to build a diff -ruN /usr/ports/graphics/png/pkg-plist ./pkg-plist --- /usr/ports/graphics/png/pkg-plist 2012-07-14 16:54:48.000000000 +0300 +++ ./pkg-plist 2013-07-07 13:33:38.000000000 +0300 @@ -14,7 +14,7 @@ lib/libpng.so libdata/pkgconfig/libpng15.pc libdata/pkgconfig/libpng.pc -lib/libpng/libpng15-release.cmake +lib/libpng/libpng15-%%CMAKE_BUILD_TYPE%%.cmake lib/libpng/libpng15.cmake lib/libpng15.a lib/libpng15.so