Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 1999 19:17:07 +0900 (JST)
From:      takamune@avrl.mei.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13638: make DEPENDS_CLEAN=yes reinstall
Message-ID:  <199909081017.TAA91057@dream.avrl.mei.co.jp>

next in thread | raw e-mail | index | archive | help

>Number:         13638
>Category:       ports
>Synopsis:       make DEPENDS_CLEAN=yes reinstall
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep  8 03:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kazutoki TAKAMUNE
>Release:        FreeBSD 3.3-RC i386
>Organization:
Matsushita Electric Industrial Co., Ltd.
>Environment:

FreeBSD 3.3-RC(Mon Sep  6 16:57:12 JST 1999)

>Description:

/usr/ports/../Makefile.inc has the next line:
	DEPENDS_CLEAN=	yes

Then "make reinstall" will break.

>How-To-Repeat:

% cd /usr/ports/japanese/ndtpd
% make install deinstall
(snip)
===>   Registering installation for ja-ndtpd-2.3.3
===>  Deinstalling for ja-ndtpd-2.3.3
% make reinstall
clean: not found
*** Error code 127

% make -n reinstall
/bin/rm -f /usr/ports/japanese/ndtpd/work/.install_done /usr/ports/japanese/ndtpd/work/.package_done
DEPENDS_TARGET=reinstall clean make install

>Fix:

Please quate ${DEPENDS_TARGET} in ports/Mk/bsd.port.mk.
--- ports/Mk/bsd.port.mk.orig	Wed Sep  8 19:00:00 1999
+++ ports/Mk/bsd.port.mk	Wed Sep  8 19:00:00 1999
@@ -1893,7 +1893,7 @@
 
 # Patch-libtool
 #
-# Special target to automagically make libtool using ports use the
+# Special target to automatically make libtool using ports use the
 # libtool port.  See above for default values of LIBTOOLFILES.
 
 .if !target(patch-libtool)
@@ -1922,7 +1922,7 @@
 .if !target(reinstall)
 reinstall:
 	@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
-	@DEPENDS_TARGET=${DEPENDS_TARGET} ${MAKE} install
+	@DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} install
 .endif
 
 # Deinstall

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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