pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41422: 'make depends DEPENDS=do-bin-install' vs. 'pkg_add -A'

>Number:         41422
>Category:       pkg
>Synopsis:       'make depends DEPENDS=do-bin-install' vs. 'pkg_add -A'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 13 07:40:00 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        linux
The following command
   make depends DEPENDS=do-bin-install
do not set "installed as a dependency" flag to the installed packages.
This is because -A flag is not passed to the underlying 'pkg_add'.

I think the following patch should be applied but it alone doesn't solve the 


Index: mk/
RCS file: /cvsroot/pkgsrc/mk/,v
retrieving revision 1.1956
diff -u -r1.1956
--- mk/       9 Apr 2009 00:51:23 -0000       1.1956
+++ mk/       13 May 2009 07:29:04 -0000
@@ -651,7 +651,7 @@
-.if defined(_AUTOMATIC) && !empty(_AUTOMATIC:MYES)
+.if defined(_AUTOMATIC) && !empty(_AUTOMATIC:M[Yy][Ee][Ss])

Home | Main Index | Thread Index | Old Index