From owner-svn-ports-all@FreeBSD.ORG Sat May 30 08:27:47 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9230BBBC; Sat, 30 May 2015 08:27:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.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 658151FE1; Sat, 30 May 2015 08:27:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4U8RlCo039120; Sat, 30 May 2015 08:27:47 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4U8RkRX039115; Sat, 30 May 2015 08:27:46 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201505300827.t4U8RkRX039115@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sat, 30 May 2015 08:27:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387917 - in head: comms/nec2c comms/xnec2c math/ccmath 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: Sat, 30 May 2015 08:27:47 -0000 Author: bapt Date: Sat May 30 08:27:46 2015 New Revision: 387917 URL: https://svnweb.freebsd.org/changeset/ports/387917 Log: Create at least a bit more proper libraries: - run ranlib on the static library - give a soname to the shared library - make the real file the the library with a version in the name - make the .so the symlink Bump portrevision for the ports using the library Modified: head/comms/nec2c/Makefile head/comms/xnec2c/Makefile head/math/ccmath/Makefile Modified: head/comms/nec2c/Makefile ============================================================================== --- head/comms/nec2c/Makefile Sat May 30 08:15:27 2015 (r387916) +++ head/comms/nec2c/Makefile Sat May 30 08:27:46 2015 (r387917) @@ -3,7 +3,7 @@ PORTNAME= nec2c PORTVERSION= .9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MASTER_SITES= http://nec-archives.pa3kj.com/ \ LOCAL/db Modified: head/comms/xnec2c/Makefile ============================================================================== --- head/comms/xnec2c/Makefile Sat May 30 08:15:27 2015 (r387916) +++ head/comms/xnec2c/Makefile Sat May 30 08:27:46 2015 (r387917) @@ -3,6 +3,7 @@ PORTNAME= xnec2c PORTVERSION= 3.3 +PORTEVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= http://www.qsl.net/5b4az/pkg/nec2/xnec2c/ \ LOCAL/shurd Modified: head/math/ccmath/Makefile ============================================================================== --- head/math/ccmath/Makefile Sat May 30 08:15:27 2015 (r387916) +++ head/math/ccmath/Makefile Sat May 30 08:27:46 2015 (r387917) @@ -3,7 +3,7 @@ PORTNAME= ccmath PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= SUNSITE/libs @@ -38,13 +38,16 @@ do-build: .endfor (cd ${WRKSRC}/matrix; ${CC} ${COPT} -c qrb*.c) ${MV} ${WRKSRC}/matrix/*.o ${WRKSRC}/tmp - (cd ${WRKSRC}/tmp; ${AR} r libccm.a *.o; ${CC} -shared -o libccm.so *.o) + (cd ${WRKSRC}/tmp; \ + ${AR} r libccm.a *.o; \ + ${RANLIB} libccm.a; \ + ${CC} -shared -Wl,-soname=libccm.so.1 -o libccm.so.1 *.o) do-install: @${INSTALL_DATA} ${WRKSRC}/ccmath.h ${STAGEDIR}${PREFIX}/include @${INSTALL_DATA} ${WRKSRC}/tmp/libccm.a ${STAGEDIR}${PREFIX}/lib - @${INSTALL_PROGRAM} ${WRKSRC}/tmp/libccm.so ${STAGEDIR}${PREFIX}/lib - @${LN} -s libccm.so ${STAGEDIR}${PREFIX}/lib/libccm.so.1 + @${INSTALL_LIB} ${WRKSRC}/tmp/libccm.so.1 ${STAGEDIR}${PREFIX}/lib + @${LN} -s libccm.so.1 ${STAGEDIR}${PREFIX}/lib/libccm.so @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ccmath @${INSTALL_DATA} ${WRKSRC}/manual/* ${STAGEDIR}${PREFIX}/share/doc/ccmath