svn commit: r322738 - in head/graphics/png: . files
Dirk Meyer
dinoex at FreeBSD.org
Thu Jul 11 04:02:07 UTC 2013
Author: dinoex
Date: Thu Jul 11 04:02:06 2013
New Revision: 322738
URL: http://svnweb.freebsd.org/changeset/ports/322738
Log:
- fix build when DEBUG is set
PR: 180361
Submitted by: Raphael Kubo da Costa
Added:
head/graphics/png/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/graphics/png/Makefile
head/graphics/png/pkg-plist
Modified: head/graphics/png/Makefile
==============================================================================
--- head/graphics/png/Makefile Wed Jul 10 23:59:46 2013 (r322737)
+++ head/graphics/png/Makefile Thu Jul 11 04:02:06 2013 (r322738)
@@ -31,10 +31,6 @@ APNG_DESC=Enable Animated PNG support
.include <bsd.port.options.mk>
-.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
Added: head/graphics/png/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/png/files/patch-CMakeLists.txt Thu Jul 11 04:02:06 2013 (r322738)
@@ -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
Modified: head/graphics/png/pkg-plist
==============================================================================
--- head/graphics/png/pkg-plist Wed Jul 10 23:59:46 2013 (r322737)
+++ head/graphics/png/pkg-plist Thu Jul 11 04:02:06 2013 (r322738)
@@ -14,7 +14,7 @@ lib/libpng.a
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
More information about the svn-ports-head
mailing list