pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links Fixed some pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d133f2643718
branches:  trunk
changeset: 349571:d133f2643718
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 10 13:28:41 2016 +0000

description:
Fixed some pkglint warnings.

diffstat:

 pkgtools/x11-links/Makefile      |   9 ++++-----
 pkgtools/x11-links/buildlink3.mk |   4 ++--
 pkgtools/x11-links/xfree.mk      |  22 +++++++++++-----------
 pkgtools/x11-links/xorg.mk       |  26 +++++++++++++-------------
 4 files changed, 30 insertions(+), 31 deletions(-)

diffs (122 lines):

diff -r 7d41890c1aec -r d133f2643718 pkgtools/x11-links/Makefile
--- a/pkgtools/x11-links/Makefile       Sun Jul 10 12:06:37 2016 +0000
+++ b/pkgtools/x11-links/Makefile       Sun Jul 10 13:28:41 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.171 2016/05/18 21:04:07 ryoon Exp $
+# $NetBSD: Makefile,v 1.172 2016/07/10 13:28:41 rillig Exp $
 #
 # NOTE:        If you update this package, then you'll likely need to also update
 #      the x11-links dependency in buildlink3.mk to the correct version,
@@ -79,7 +79,7 @@
 do-build:
        ${MKDIR} ${X11_LINKS_BUILD_DIR}
        ${CHMOD} ${PKGDIRMODE} ${X11_LINKS_BUILD_DIR}
-       ${FILES_LIST_CMD} | ${SED} -e "s,/[^/]*$$,," | ${SORT} -u |     \
+       ${FILES_LIST_CMD} | ${SED} -e 's,/[^/]*$$,,' | ${SORT} -u |     \
        while read dir; do                                              \
                if [ -d ${X11BASE}/$$dir ]; then                        \
                        ${MKDIR} ${X11_LINKS_BUILD_DIR}/$$dir;          \
@@ -119,8 +119,7 @@
        done
 
 do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR:Q}${X11_LINKS_DIR:Q}
-       cd  ${X11_LINKS_BUILD_DIR} && \
-               pax -rw .  ${DESTDIR:Q}${X11_LINKS_DIR:Q}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${X11_LINKS_DIR}
+       cd ${X11_LINKS_BUILD_DIR} && pax -rw . ${DESTDIR}${X11_LINKS_DIR}
 
 .include "../../mk/bsd.pkg.mk"
diff -r 7d41890c1aec -r d133f2643718 pkgtools/x11-links/buildlink3.mk
--- a/pkgtools/x11-links/buildlink3.mk  Sun Jul 10 12:06:37 2016 +0000
+++ b/pkgtools/x11-links/buildlink3.mk  Sun Jul 10 13:28:41 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.66 2016/05/18 21:04:07 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.67 2016/07/10 13:28:41 rillig Exp $
 #
 # Don't include this file manually!  It will be included as necessary
 # by bsd.buildlink3.mk.
-
+#
 # x11-links is sorted first in mk/buildlink3/bsd.buildlink3.mk,
 # so that symlinks created from it can be overriden by other packages.
 #
diff -r 7d41890c1aec -r d133f2643718 pkgtools/x11-links/xfree.mk
--- a/pkgtools/x11-links/xfree.mk       Sun Jul 10 12:06:37 2016 +0000
+++ b/pkgtools/x11-links/xfree.mk       Sun Jul 10 13:28:41 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xfree.mk,v 1.16 2009/03/20 19:25:13 joerg Exp $
+# $NetBSD: xfree.mk,v 1.17 2016/07/10 13:28:41 rillig Exp $
 
 FILES_LIST=    ${FILESDIR}/xfree
 
@@ -18,17 +18,17 @@
 # Check if any headers and libraries for ${X11_MODULES} found in
 # ${X11BASE} actually belong to the base XFree86 or not.
 #
-.for _pkg_ in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
-CHECK_BUILTIN.${_pkg_}:=       yes
-USE_BUILTIN.${_pkg_}=          yes
-.  sinclude "${BUILDLINK_PKGSRCDIR.${_pkg_}}/builtin.mk"
-CHECK_BUILTIN.${_pkg_}:=       no
+.for pkg in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
+CHECK_BUILTIN.${pkg}:= yes
+USE_BUILTIN.${pkg}=            yes
+.  sinclude "${BUILDLINK_PKGSRCDIR.${pkg}}/builtin.mk"
+CHECK_BUILTIN.${pkg}:= no
 .endfor
 
-.for _pkg_ in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
-IGNORE_PKG.${_pkg_}=   yes
-.  if (defined(IS_BUILTIN.${_pkg_}) && !empty(IS_BUILTIN.${_pkg_}:M[yY][eE][sS]) ) && \
-      exists(${FILESDIR}/xfree.${_pkg_})
-FILES_LIST+=   ${FILESDIR}/xfree.${_pkg_}
+.for pkg in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
+IGNORE_PKG.${pkg}=     yes
+.  if (defined(IS_BUILTIN.${pkg}) && !empty(IS_BUILTIN.${pkg}:M[yY][eE][sS]) ) && \
+      exists(${FILESDIR}/xfree.${pkg})
+FILES_LIST+=   ${FILESDIR}/xfree.${pkg}
 .  endif
 .endfor
diff -r 7d41890c1aec -r d133f2643718 pkgtools/x11-links/xorg.mk
--- a/pkgtools/x11-links/xorg.mk        Sun Jul 10 12:06:37 2016 +0000
+++ b/pkgtools/x11-links/xorg.mk        Sun Jul 10 13:28:41 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.mk,v 1.26 2014/04/29 06:20:04 obache Exp $
+# $NetBSD: xorg.mk,v 1.27 2016/07/10 13:28:41 rillig Exp $
 #
 # This is for X.org, but use "xfree" files also.
 
@@ -81,20 +81,20 @@
 # ${X11BASE} actually belong to the base Xorg or not.
 #
 # XXX: maybe skip iconv and zlib too?
-.for _pkg_ in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
-CHECK_BUILTIN.${_pkg_}:=       yes
-.  sinclude "${BUILDLINK_PKGSRCDIR.${_pkg_}}/builtin.mk"
-CHECK_BUILTIN.${_pkg_}:=       no
+.for pkg in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
+CHECK_BUILTIN.${pkg}:= yes
+.  sinclude "${BUILDLINK_PKGSRCDIR.${pkg}}/builtin.mk"
+CHECK_BUILTIN.${pkg}:= no
 .endfor
 
-.for _pkg_ in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
-IGNORE_PKG.${_pkg_}=   yes
-.  if defined(USE_BUILTIN.${_pkg_}) && \
-      !empty(USE_BUILTIN.${_pkg_}:M[yY][eE][sS])
-.    if exists(${FILESDIR}/xorg.${_pkg_})
-FILES_LIST+=   ${FILESDIR}/xorg.${_pkg_}
-.    elif exists(${FILESDIR}/xfree.${_pkg_})
-FILES_LIST+=   ${FILESDIR}/xfree.${_pkg_}
+.for pkg in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
+IGNORE_PKG.${pkg}=     yes
+.  if defined(USE_BUILTIN.${pkg}) && \
+      !empty(USE_BUILTIN.${pkg}:M[yY][eE][sS])
+.    if exists(${FILESDIR}/xorg.${pkg})
+FILES_LIST+=   ${FILESDIR}/xorg.${pkg}
+.    elif exists(${FILESDIR}/xfree.${pkg})
+FILES_LIST+=   ${FILESDIR}/xfree.${pkg}
 .    endif
 .  endif
 .endfor



Home | Main Index | Thread Index | Old Index