Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 18:13:55 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389238 - in head/devel/android-tools-fastboot: . files
Message-ID:  <201506111813.t5BIDtYk014542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Jun 11 18:13:55 2015
New Revision: 389238
URL: https://svnweb.freebsd.org/changeset/ports/389238

Log:
  devel/android-tools-fastboot: warn about name conflict with fastboot(8)
  
  Suggested by:	Jan Henrik Sylvester <me@janh.de>

Added:
  head/devel/android-tools-fastboot/files/pkg-message.in   (contents, props changed)
Modified:
  head/devel/android-tools-fastboot/Makefile   (contents, props changed)

Modified: head/devel/android-tools-fastboot/Makefile
==============================================================================
--- head/devel/android-tools-fastboot/Makefile	Thu Jun 11 18:12:08 2015	(r389237)
+++ head/devel/android-tools-fastboot/Makefile	Thu Jun 11 18:13:55 2015	(r389238)
@@ -3,7 +3,7 @@
 PORTNAME=	android-tools-fastboot
 DISTVERSIONPREFIX=	android-
 DISTVERSION=	5.1.1_r4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:manpage
 DISTFILES=	fastboot.1?id=706e754:manpage
@@ -34,6 +34,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 PLIST_FILES=	bin/fastboot \
 		man/man1/fastboot.1.gz
 PORTDOCS=	fastboot_protocol.txt
+SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	DOCS
 

Added: head/devel/android-tools-fastboot/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/android-tools-fastboot/files/pkg-message.in	Thu Jun 11 18:13:55 2015	(r389238)
@@ -0,0 +1,7 @@
+The port installed fastboot(1) under %%PREFIX%%/bin. However, there's
+a different fastboot(8) under /sbin. To avoid accidentally invoking
+the wrong command make sure either to
+
+- adjust PATH environment variable to have fastboot(1) found first
+- create a shell alias with absolute path to fastboot(1)
+- create a symlink with different name in PATH e.g., under ~/bin



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