pkgsrc-Bugs archive

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

Re: pkg/38134: make update erases ancestor packages



The following reply was made to PR pkg/38134; it has been noted by GNATS.

From: David Holland <dholland%eecs.harvard.edu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: dholland%eecs.harvard.edu@localhost
Subject: Re: pkg/38134: make update erases ancestor packages
Date: Thu, 20 Mar 2008 15:42:55 -0400

 I think this is the problem:
 
 Index: flavor/pkg/deinstall.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mk/flavor/pkg/deinstall.mk,v
 retrieving revision 1.7
 diff -u -r1.7 deinstall.mk
 --- flavor/pkg/deinstall.mk    7 Nov 2007 17:04:43 -0000       1.7
 +++ flavor/pkg/deinstall.mk    20 Mar 2008 19:40:47 -0000
 @@ -5,7 +5,7 @@
  #
  .if defined(DEINSTALLDEPENDS)
  .  if empty(DEINSTALLDEPENDS:M[nN][oO])
 -.    if !empty(DEINSTALLDEPENDS:M[aA][lL][lL)
 +.    if !empty(DEINSTALLDEPENDS:M[aA][lL][lL])
  _PKG_ARGS_DEINSTALL+= -r      # for "update" target
  .    else
  _PKG_ARGS_DEINSTALL+= -r -R   # for removing stuff in bulk builds
 
 
 ...now, why doesn't make complain about an invalid regexp argument of :M?
 
 -- 
    - David A. Holland / dholland%eecs.harvard.edu@localhost
 


Home | Main Index | Thread Index | Old Index