git: 7ac780ee21e5 - main - devel/tinycbor: Simplify Makefile

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue May 11 21:51:32 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7ac780ee21e564fe3e6e9a405b987837a59a30d9

commit 7ac780ee21e564fe3e6e9a405b987837a59a30d9
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-11 21:14:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-11 21:46:58 +0000

    devel/tinycbor: Simplify Makefile
---
 devel/tinycbor/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/tinycbor/Makefile b/devel/tinycbor/Makefile
index 6dd2731946fb..f0321ab0945b 100644
--- a/devel/tinycbor/Makefile
+++ b/devel/tinycbor/Makefile
@@ -13,9 +13,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libcjson.so:devel/libcjson
 
+USES=		gmake localbase pathfix
+
 INSTALL_TARGET=	install-strip
 MAKE_ARGS=	SOVERSION=${PORTVERSION:R:R}
-USES=		gmake localbase pathfix
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
@@ -27,8 +28,8 @@ do-configure:
 	@cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} configure
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so.${PORTVERSION}
 	${LN} -fs libtinycbor.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so
 	${LN} -fs libtinycbor.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so.${PORTVERSION:R:R}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list