pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/plist
Module Name: pkgsrc
Committed By: riastradh
Date: Tue Jan 7 08:08:42 UTC 2025
Modified Files:
pkgsrc/mk/plist: plist.mk
Log Message:
mk/plist/plist.mk: Nix unused _PLIST_IGNORE_FILES.
And garbage-collect _PLIST_IGNORE_CMD, which is the identity when
_PLIST_IGNORE_FILES is empty.
This is a vestige of the pkgviews feature which was mostly removed
over a decade ago, except for a few straggling bits that were missed.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/mk/plist/plist.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/plist/plist.mk
diff -u pkgsrc/mk/plist/plist.mk:1.59 pkgsrc/mk/plist/plist.mk:1.60
--- pkgsrc/mk/plist/plist.mk:1.59 Sun Nov 5 08:23:31 2023
+++ pkgsrc/mk/plist/plist.mk Tue Jan 7 08:08:42 2025
@@ -1,4 +1,4 @@
-# $NetBSD: plist.mk,v 1.59 2023/11/05 08:23:31 pho Exp $
+# $NetBSD: plist.mk,v 1.60 2025/01/07 08:08:42 riastradh Exp $
#
# This Makefile fragment handles the creation of PLISTs for use by
# pkg_create(8).
@@ -232,23 +232,10 @@ GENERATE_PLIST?= ${ECHO} "@comment "${PK
GENERATE_PLIST?= ${TRUE};
.endif
-_BUILD_DEFS+= _PLIST_IGNORE_FILES
-
.if ${PLIST_TYPE} == "dynamic"
-_PLIST_IGNORE_CMD= \
- ( while read i; do \
- ignore=no; \
- for p in ${_PLIST_IGNORE_FILES}; do \
- case "$$i" in \
- $$p) ignore=yes; break ;; \
- esac; \
- done; \
- [ "$$ignore" = "yes" ] || ${ECHO} "$$i"; \
- done )
_GENERATE_PLIST= \
${FIND} ${DESTDIR}${PREFIX} \! -type d -print | ${SORT} | \
- ${SED} -e "s|^${DESTDIR}${PREFIX}/||" | \
- ${_PLIST_IGNORE_CMD}
+ ${SED} -e "s|^${DESTDIR}${PREFIX}/||"
.else
_GENERATE_PLIST= ${CAT} /dev/null ${PLIST_SRC}; ${GENERATE_PLIST}
.endif
Home |
Main Index |
Thread Index |
Old Index