pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Fixed the latest pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46640b1b085d
branches:  trunk
changeset: 535095:46640b1b085d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Nov 07 17:04:43 2007 +0000

description:
Fixed the latest pkglint warnings.

diffstat:

 mk/flavor/pkg/deinstall.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 013a8dc0f668 -r 46640b1b085d mk/flavor/pkg/deinstall.mk
--- a/mk/flavor/pkg/deinstall.mk        Wed Nov 07 17:01:24 2007 +0000
+++ b/mk/flavor/pkg/deinstall.mk        Wed Nov 07 17:04:43 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: deinstall.mk,v 1.6 2007/11/07 16:50:00 gdt Exp $
+# $NetBSD: deinstall.mk,v 1.7 2007/11/07 17:04:43 rillig Exp $
 
 # Set the appropriate flags to pass to pkg_delete(1) based on the value
 # of DEINSTALLDEPENDS (see pkgsrc/mk/install/deinstall.mk).
@@ -29,15 +29,15 @@
 # See also:
 #      deinstall
 #
-_flavor-deinstall:
+_flavor-deinstall: .PHONY
        ${RUN}                                                          \
        if [ x"${OLDNAME}" = x ]; then                                  \
-               found="`${PKG_INFO} -e \"${PKGNAME}\" || ${TRUE}`";     \
+               found=`${PKG_INFO} -e "${PKGNAME}" || ${TRUE}`;         \
        else                                                            \
                found=${OLDNAME};                                       \
        fi;                                                             \
        case "$$found" in                                               \
-       "") found="`${_PKG_BEST_EXISTS} ${PKGWILDCARD:Q} || ${TRUE}`" ;; \
+       "") found=`${_PKG_BEST_EXISTS} ${PKGWILDCARD:Q} || ${TRUE}`;;   \
        esac;                                                           \
        if ${TEST} -n "$$found"; then                                   \
                ${ECHO} "Running ${PKG_DELETE} ${_PKG_ARGS_DEINSTALL} $$found"; \
@@ -46,7 +46,7 @@
 .if defined(DEINSTALLDEPENDS) && !empty(DEINSTALLDEPENDS:M[yY][eE][sS])
 .  for _pkg_ in ${BUILD_DEPENDS:C/:.*$//}
        ${RUN}                                                          \
-       found="`${_PKG_BEST_EXISTS} ${_pkg_:Q} || ${TRUE}`";            \
+       found=`${_PKG_BEST_EXISTS} ${_pkg_:Q} || ${TRUE}`;              \
        if ${TEST} -n "$$found"; then                                   \
                ${ECHO} "Running ${PKG_DELETE} ${_PKG_ARGS_DEINSTALL} $$found"; \
                ${PKG_DELETE} ${_PKG_ARGS_DEINSTALL} "$$found" || ${TRUE}; \



Home | Main Index | Thread Index | Old Index