From owner-svn-ports-head@freebsd.org Sat Mar 4 11:34:34 2017 Return-Path: Delivered-To: svn-ports-head@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 69C83CF9C9A; Sat, 4 Mar 2017 11:34:34 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 1EFF81252; Sat, 4 Mar 2017 11:34:34 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v24BYXgV035031; Sat, 4 Mar 2017 11:34:33 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v24BYXRf035029; Sat, 4 Mar 2017 11:34:33 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201703041134.v24BYXRf035029@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Sat, 4 Mar 2017 11:34:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435388 - in head/graphics/libqrencode: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2017 11:34:34 -0000 Author: vanilla Date: Sat Mar 4 11:34:32 2017 New Revision: 435388 URL: https://svnweb.freebsd.org/changeset/ports/435388 Log: 1: add version of shared library. 2: fix libqrencode.pc. Added: head/graphics/libqrencode/files/ head/graphics/libqrencode/files/patch-CMakeLists.txt (contents, props changed) Modified: head/graphics/libqrencode/Makefile Modified: head/graphics/libqrencode/Makefile ============================================================================== --- head/graphics/libqrencode/Makefile Sat Mar 4 11:29:16 2017 (r435387) +++ head/graphics/libqrencode/Makefile Sat Mar 4 11:34:32 2017 (r435388) @@ -3,6 +3,7 @@ PORTNAME= libqrencode PORTVERSION= 3.9.0 +PORTREVISION= 1 CATEGORIES= graphics DISTNAME= qrencode-${PORTVERSION} @@ -26,6 +27,8 @@ CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON PLIST_FILES= bin/qrencode \ include/qrencode.h \ lib/libqrencode.so \ + lib/libqrencode.so.3 \ + lib/libqrencode.so.3.9.0 \ libdata/pkgconfig/libqrencode.pc \ man/man1/qrencode.1.gz Added: head/graphics/libqrencode/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libqrencode/files/patch-CMakeLists.txt Sat Mar 4 11:34:32 2017 (r435388) @@ -0,0 +1,27 @@ +--- CMakeLists.txt.orig 2017-02-05 05:47:23 UTC ++++ CMakeLists.txt +@@ -101,10 +101,17 @@ if(BUILD_SHARED_LIBS) + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + endif() + add_library(qrencode SHARED ${QRENCODE_SRCS} ${QRENCODE_HDRS}) ++ set_target_properties(qrencode PROPERTIES VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} SOVERSION ${PROJECT_VERSION_MAJOR}) + else() + add_library(qrencode ${QRENCODE_SRCS} ${QRENCODE_HDRS}) + endif() + ++set(prefix "${CMAKE_INSTALL_PREFIX}") ++set(exec_prefix "${CMAKE_INSTALL_PREFIX}/bin") ++set(libdir "${CMAKE_INSTALL_PREFIX}/lib") ++set(includedir "${CMAKE_INSTALL_PREFIX}/include") ++set(VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") ++ + configure_file(qrencode.1.in qrencode.1 @ONLY) + configure_file(libqrencode.pc.in libqrencode.pc @ONLY) + +@@ -166,4 +173,4 @@ message(STATUS " Project configuration:" + message(STATUS " .. Build test programs ........ = ${WITH_TESTS}" ) + message(STATUS " .. Build utility tools ........ = ${WITH_TOOLS}" ) + message(STATUS " .. Installation prefix ......... = ${CMAKE_INSTALL_PREFIX}" ) +-message(STATUS "------------------------------------------------------------ ") +\ No newline at end of file ++message(STATUS "------------------------------------------------------------ ")