Date: Sun, 5 Aug 2018 01:23:35 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476384 - head/math/triangle Message-ID: <201808050123.w751NZMV059720@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Aug 5 01:23:35 2018 New Revision: 476384 URL: https://svnweb.freebsd.org/changeset/ports/476384 Log: math/triangle: Add SONAME to the shared library Modified: head/math/triangle/Makefile Modified: head/math/triangle/Makefile ============================================================================== --- head/math/triangle/Makefile Sun Aug 5 00:44:37 2018 (r476383) +++ head/math/triangle/Makefile Sun Aug 5 01:23:35 2018 (r476384) @@ -3,7 +3,7 @@ PORTNAME= triangle PORTVERSION= 1.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= NL/voronoi DISTNAME= ${PORTNAME} @@ -22,15 +22,17 @@ USE_LDCONFIG= yes PLIST_FILES= bin/${PORTNAME} bin/showme \ include/${PORTNAME}.h \ - lib/lib${PORTNAME}.so + lib/lib${PORTNAME}.so \ + lib/lib${PORTNAME}.so.${PORTVERSION} post-build: - @cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -o lib${PORTNAME}.so ${PORTNAME}.c + @cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,lib${PORTNAME}.so.${PORTVERSION} -o lib${PORTNAME}.so.${PORTVERSION} ${PORTNAME}.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${WRKSRC}/showme ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib${PORTNAME}.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib + cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s lib${PORTNAME}.so.${PORTVERSION} lib${PORTNAME}.so do-test: build @cd ${INSTALL_WRKSRC} && ./${PORTNAME} -p A.poly && ./showme A.1.poly
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808050123.w751NZMV059720>