From owner-svn-ports-branches@freebsd.org Fri Nov 25 00:40:41 2016 Return-Path: Delivered-To: svn-ports-branches@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 B85C0C53537; Fri, 25 Nov 2016 00:40:41 +0000 (UTC) (envelope-from cpm@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 79BFF93D; Fri, 25 Nov 2016 00:40:41 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAP0eeAP021674; Fri, 25 Nov 2016 00:40:40 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAP0ee4r021672; Fri, 25 Nov 2016 00:40:40 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201611250040.uAP0ee4r021672@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Fri, 25 Nov 2016 00:40:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r427070 - in branches/2016Q4/devel/libcrossguid: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2016 00:40:41 -0000 Author: cpm Date: Fri Nov 25 00:40:40 2016 New Revision: 427070 URL: https://svnweb.freebsd.org/changeset/ports/427070 Log: MFH: r427007 devel/libcrossguid: Add SONAME, cosmetic fixes - Add SONAME to libcrossguid.so - Cosmetic fixes - Bump PORTREVISION PR: 214499 Submitted by: cpm Reviewed by: Mickael Maillot (maintainer), amdmi3 (mentor) Approved by: Mickael Maillot (maintainer), amdmi3 (mentor) Approved by: ports-secteam (feld) Modified: branches/2016Q4/devel/libcrossguid/Makefile branches/2016Q4/devel/libcrossguid/files/libcrossguid.pc.in Directory Properties: branches/2016Q4/ (props changed) Modified: branches/2016Q4/devel/libcrossguid/Makefile ============================================================================== --- branches/2016Q4/devel/libcrossguid/Makefile Thu Nov 24 21:40:15 2016 (r427069) +++ branches/2016Q4/devel/libcrossguid/Makefile Fri Nov 25 00:40:40 2016 (r427070) @@ -2,6 +2,7 @@ PORTNAME= libcrossguid PORTVERSION= 20150803 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= mickael.maillot@gmail.com @@ -20,18 +21,25 @@ GH_TAGNAME= 8f399e8 USES= compiler:c++11-lang pkgconfig USE_CXXSTD= c++11 CXXFLAGS+= `pkg-config --cflags uuid` -PLIST_FILES= include/guid.h lib/libcrossguid.so libdata/pkgconfig/libcrossguid.pc +USE_LDCONFIG= yes + +PLIST_FILES= include/guid.h \ + lib/libcrossguid.so \ + lib/libcrossguid.so.0 \ + libdata/pkgconfig/libcrossguid.pc post-patch: - @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \ + @${SED} -e 's|%PREFIX%|${PREFIX}|' -e 's|%VERSION%|${PORTVERSION}|' \ ${FILESDIR}/libcrossguid.pc.in > ${WRKDIR}/libcrossguid.pc do-build: - @cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -shared -fPIC guid.cpp -o libcrossguid.so -DGUID_LIBUUID + cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -shared -fPIC -Wl,-soname,libcrossguid.so.0 \ + -DGUID_LIBUUID -L${LOCALBASE}/lib guid.cpp -o libcrossguid.so.0 -luuid do-install: ${INSTALL_DATA} ${WRKSRC}/guid.h ${STAGEDIR}${PREFIX}/include - ${INSTALL_LIB} ${WRKSRC}/libcrossguid.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libcrossguid.so.0 ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKDIR}/libcrossguid.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + ${LN} -sf libcrossguid.so.0 ${STAGEDIR}${PREFIX}/lib/libcrossguid.so .include Modified: branches/2016Q4/devel/libcrossguid/files/libcrossguid.pc.in ============================================================================== --- branches/2016Q4/devel/libcrossguid/files/libcrossguid.pc.in Thu Nov 24 21:40:15 2016 (r427069) +++ branches/2016Q4/devel/libcrossguid/files/libcrossguid.pc.in Fri Nov 25 00:40:40 2016 (r427070) @@ -5,6 +5,5 @@ includedir=${prefix}/include Name: libguid Description: minimal and cross platform C++ GUID library Version: %VERSION% -Libs: -L${libdir} -lguid +Libs: -L${libdir} -lcrossguid Cflags: -I${includedir} -