From owner-svn-ports-all@freebsd.org Wed Jul 29 06:07:59 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C05F9AE797; Wed, 29 Jul 2015 06:07:59 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32212E00; Wed, 29 Jul 2015 06:07:59 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6T67xdK066103; Wed, 29 Jul 2015 06:07:59 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6T67wU8066101; Wed, 29 Jul 2015 06:07:58 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201507290607.t6T67wU8066101@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 29 Jul 2015 06:07:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393143 - in head/graphics/png: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 06:07:59 -0000 Author: antoine Date: Wed Jul 29 06:07:57 2015 New Revision: 393143 URL: https://svnweb.freebsd.org/changeset/ports/393143 Log: Switch build system from cmake to GNU configure There are 2 benefits: - Reduced number of build dependencies (0 now) - This fixes build on arm64, as configure/Makefile are more updated than CMakeLists.txt (CMakeLists.txt doesn't know about the arm/arm_init.c and arm/filter_neon_intrinsics.c files) PR: 201425 Tested by: Andrew Turner (on arm64) Deleted: head/graphics/png/files/ Modified: head/graphics/png/Makefile head/graphics/png/pkg-plist Modified: head/graphics/png/Makefile ============================================================================== --- head/graphics/png/Makefile Wed Jul 29 04:03:56 2015 (r393142) +++ head/graphics/png/Makefile Wed Jul 29 06:07:57 2015 (r393143) @@ -3,6 +3,7 @@ PORTNAME= png PORTVERSION= 1.6.17 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}16/${PORTVERSION} PATCH_SITES= SF/apng/lib${PORTNAME}/lib${PORTNAME}16/ @@ -11,13 +12,13 @@ DISTNAME= lib${PORTNAME}-${PORTVERSION} MAINTAINER= portmgr@FreeBSD.org COMMENT= Library for manipulating PNG images -USES= cmake cpe tar:xz +USES= cpe libtool tar:xz CPE_PRODUCT= libpng GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig +INSTALL_TARGET= install-strip USE_LDCONFIG= yes -CMAKE_ARGS+= -DPNG_MAN_DIR:STRING=man - OPTIONS_DEFINE=APNG PNGTEST OPTIONS_DEFAULT=APNG PNGTEST APNG_DESC=Enable Animated PNG support @@ -29,11 +30,6 @@ PNGTEST_DESC=Enable Regression Test (rec PATCHFILES= ${DISTNAME}-apng.patch.gz .endif -post-patch: - ${REINPLACE_CMD} \ - -e 's|LIBDIR}/pkgconfig|LIBDIR}data/pkgconfig|' \ - ${WRKSRC}/CMakeLists.txt - .if ${PORT_OPTIONS:MPNGTEST} post-build: (cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} test; then \ Modified: head/graphics/png/pkg-plist ============================================================================== --- head/graphics/png/pkg-plist Wed Jul 29 04:03:56 2015 (r393142) +++ head/graphics/png/pkg-plist Wed Jul 29 06:07:57 2015 (r393143) @@ -1,5 +1,7 @@ bin/libpng-config bin/libpng16-config +bin/png-fix-itxt +bin/pngfix include/libpng16/png.h include/libpng16/pngconf.h include/libpng16/pnglibconf.h @@ -8,8 +10,6 @@ include/pngconf.h include/pnglibconf.h lib/libpng.a lib/libpng.so -lib/libpng/libpng16-%%CMAKE_BUILD_TYPE%%.cmake -lib/libpng/libpng16.cmake lib/libpng16.a lib/libpng16.so lib/libpng16.so.16