svn commit: r569287 - in head/devel/bitkeeper: . files

Cy Schubert cy at FreeBSD.org
Sat Mar 27 02:45:01 UTC 2021


Author: cy
Date: Sat Mar 27 02:44:58 2021
New Revision: 569287
URL: https://svnweb.freebsd.org/changeset/ports/569287

Log:
  devel/bitkeeper: Symlink to bin/bk does not work
  
  The bitkeeper binary, bk, checks whether the path from which it was
  executed is a symbolic link and if it is, it terminates with an error.
  Remove the symlink and add a pkg-message telling the user to add
  ${LOCALBASE}/bitkeeper/bin to their path.
  
  PR:		247160
  Reported by:	Gian-Simon Purkert <gspurki at gmail.com>

Added:
  head/devel/bitkeeper/files/
  head/devel/bitkeeper/files/pkg-message   (contents, props changed)
Modified:
  head/devel/bitkeeper/Makefile   (contents, props changed)
  head/devel/bitkeeper/pkg-plist   (contents, props changed)

Modified: head/devel/bitkeeper/Makefile
==============================================================================
--- head/devel/bitkeeper/Makefile	Sat Mar 27 02:44:53 2021	(r569286)
+++ head/devel/bitkeeper/Makefile	Sat Mar 27 02:44:58 2021	(r569287)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bitkeeper
 PORTVERSION=	7.3.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	https://www.bitkeeper.org/downloads/${PORTVERSION}/
 DISTNAME=	bk-${PORTVERSION}.src
@@ -40,8 +40,5 @@ do-build:
 do-install:
 	@(cd ${WRKSRC}; \
 	${MAKE_CMD} DESTDIR=${STAGEDIR}${PREFIX}/bitkeeper ${INSTALL_TARGET})
-
-post-install:
-	${LN} -s ../bitkeeper/bk ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Added: head/devel/bitkeeper/files/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/bitkeeper/files/pkg-message	Sat Mar 27 02:44:58 2021	(r569287)
@@ -0,0 +1,9 @@
+[
+{ type: install
+  message: <<EOM
+The binaries to bitkeeper are in ${LOCALBASE}/bitkeeper/bin.
+This directory must be added to $PATH. A symbolic link to the
+bk binary will not work.
+EOM
+}
+]

Modified: head/devel/bitkeeper/pkg-plist
==============================================================================
--- head/devel/bitkeeper/pkg-plist	Sat Mar 27 02:44:53 2021	(r569286)
+++ head/devel/bitkeeper/pkg-plist	Sat Mar 27 02:44:58 2021	(r569287)
@@ -1,4 +1,3 @@
-bin/bk
 bitkeeper/RELEASE-NOTES.md
 bitkeeper/b64wrap
 bitkeeper/bk


More information about the svn-ports-head mailing list