Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 14:05:39 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490256 - in head: devel/gitolite science/mcstas sysutils/DTraceToolkit
Message-ID:  <201901141405.x0EE5dkJ076227@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Jan 14 14:05:39 2019
New Revision: 490256
URL: https://svnweb.freebsd.org/changeset/ports/490256

Log:
  Cleanup RLN usage
  
  RLN is based on install(1) and -s means "run strip(1) on the installed
  binary".  install(1) ignores -s when it makes a link, so it "works"
  now instead of failing when it links non-binaries.

Modified:
  head/devel/gitolite/Makefile
  head/science/mcstas/Makefile
  head/sysutils/DTraceToolkit/Makefile

Modified: head/devel/gitolite/Makefile
==============================================================================
--- head/devel/gitolite/Makefile	Mon Jan 14 13:51:48 2019	(r490255)
+++ head/devel/gitolite/Makefile	Mon Jan 14 14:05:39 2019	(r490256)
@@ -54,7 +54,7 @@ do-build:
 do-install:
 	(cd ${WRKSRC}/src && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/libexec/gitolite)
 	(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/)
-	${RLN} -s ${STAGEDIR}${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite
+	${RLN} ${STAGEDIR}${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/science/mcstas/Makefile
==============================================================================
--- head/science/mcstas/Makefile	Mon Jan 14 13:51:48 2019	(r490255)
+++ head/science/mcstas/Makefile	Mon Jan 14 14:05:39 2019	(r490256)
@@ -23,7 +23,7 @@ MCEXECS=	mcstas mcformat
 post-install:
 .for e in ${MCEXECS}
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/${e}
-	${RLN} -s ${STAGEDIR}/${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e}
+	${RLN} ${STAGEDIR}/${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e}
 .endfor
 
 .include <bsd.port.mk>

Modified: head/sysutils/DTraceToolkit/Makefile
==============================================================================
--- head/sysutils/DTraceToolkit/Makefile	Mon Jan 14 13:51:48 2019	(r490255)
+++ head/sysutils/DTraceToolkit/Makefile	Mon Jan 14 14:05:39 2019	(r490256)
@@ -81,10 +81,10 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	(cd ${WRKSRC} && ${TAR} --exclude '*.orig' -cf - . ) | \
 		(cd ${STAGEDIR}${DATADIR}/ && ${TAR} xvf -)
-	${RLN} -s ${STAGEDIR}${DATADIR}/hotkernel ${STAGEDIR}${PREFIX}/bin/hotkernel
-	${RLN} -s ${STAGEDIR}${DATADIR}/procsystime ${STAGEDIR}${PREFIX}/bin/procsystime
-	${RLN} -s ${STAGEDIR}${DATADIR}/opensnoop ${STAGEDIR}${PREFIX}/bin/opensnoop
-	${RLN} -s ${STAGEDIR}${DATADIR}/Apps/shellsnoop ${STAGEDIR}${PREFIX}/bin/shellsnoop
+	${RLN} ${STAGEDIR}${DATADIR}/hotkernel ${STAGEDIR}${PREFIX}/bin/hotkernel
+	${RLN} ${STAGEDIR}${DATADIR}/procsystime ${STAGEDIR}${PREFIX}/bin/procsystime
+	${RLN} ${STAGEDIR}${DATADIR}/opensnoop ${STAGEDIR}${PREFIX}/bin/opensnoop
+	${RLN} ${STAGEDIR}${DATADIR}/Apps/shellsnoop ${STAGEDIR}${PREFIX}/bin/shellsnoop
 
 .for MANPAGE in hotkernel procsystime opensnoop shellsnoop
 	${INSTALL_MAN} ${WRKSRC}/Man/man1m/${MANPAGE}.1m \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901141405.x0EE5dkJ076227>