Subject: [ -f option in deinstall target ? ]
To: None <tech-pkg@netbsd.org>
From: Juan RP <jrp@hispabsd.org>
List: tech-pkg
Date: 06/23/2003 12:17:58
Hi folks, 
I was searching in bsd.pkg.mk for any target for
remove a package with the -f option in the pkg_delete command,
but really there is not any option for this AFAIK, I need really
this option because for me is more easy type:

$ make deinstall-force 

than

$ sudo pkg_delete "package"

Perhaps we can add a new target to declare a customized flags
like PKG_DELETE_FLAGS ? but atm we have the DEINSTALL_DEPENDS variable
with the options "all" ( -r & -R ) ...

Comments ?

What about this ?

# used for remove a package with brute force ( -f option )

.if !target(deinstall-force)
deinstall-force: do-su-deinstall
real-su-deinstall-flags+=       -f
.endif


Regards,
-- 
Juan RP		jrp@hispabsd.org
--