From owner-freebsd-ports@FreeBSD.ORG Sun May 18 15:36:16 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB0C3153 for ; Sun, 18 May 2014 15:36:16 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 308A22361 for ; Sun, 18 May 2014 15:36:15 +0000 (UTC) Received: from mart.js.berklix.net (p57BCF036.dip0.t-ipconnect.de [87.188.240.54]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id s4IFZNSf046193 for ; Sun, 18 May 2014 15:35:24 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s4IFa2Te053679 for ; Sun, 18 May 2014 17:36:02 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id s4IFZoTY003749 for ; Sun, 18 May 2014 17:36:02 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201405181536.s4IFZoTY003749@fire.js.berklix.net> To: ports@freebsd.org Subject: ports/Mk/bsd.port.mk Verifying install for - to call REinstall From: "Julian H. Stacey" Organization: http://berklix.com BSD Linux Unix Consultants, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Sun, 18 May 2014 17:35:50 +0200 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2014 15:36:16 -0000 Hi ports@freebsd.org While making my standard collection of ports on 8.4-RELEASE (yes I also have 9.2 & 10 on other partitions on some but not all hosts) I saw numerous examples similar to: cd /usr/ports/multimedia/ogmrip ; make ===> ogmrip-1.0.0 depends on executable: mencoder - found ===> ogmrip-1.0.0 depends on executable: mplayer - found ===> ogmrip-1.0.0 depends on executable: gsed - not found ===> Verifying install for gsed in /usr/ports/textproc/gsed ===> Returning to build of ogmrip-1.0.0 ... & a later fail with eg gsed not found (why not found I'm not sure, as I started with a new empty /usr/local/ but why is irrelevant, it should recover) (in this case, a manual make in /pri/FreeBSD/branches/-current/ports/textproc/gsed solved it, but that's an exception to the general case, & also irrelevant) Wouldn't it be better if we had a make reinstall in dependency (eg textproc/gsed) not just a make install which presumably just looks at dependency textproc/gsed/work/.install_done.sed._usr_local & doesnt try to install the binary we already know IS missing. I'm not clear how to do reinstall instead of install via Mk/ ? But it's somewhere around here: vi -c'/^_INSTALL_DEPENDS=' /usr/ports/Mk/bsd.port.mk Called from ${_INSTALL_DEPENDS} in fragment: if [ $$notfound != 0 ]; then \ ${ECHO_MSG} "===> Verifying $$target for $$prog in $$dir"; \ if [ ! -d "$$dir" ]; then \ ${ECHO_MSG} " => No directory for $$prog. Skipping.."; \ else \ ${_INSTALL_DEPENDS} \ fi; \ Cheers, Julian -- Julian Stacey, BSD Linux Unix'78 C Sys Eng Consultant Munich http://berklix.com Interleave reply paragraphs like a play script. http://berklix.eu/pirates/ - A daft name but good ideas, read before voting.