Subject: pkg/19172: don't say OPSYS for applying pkgsrc patches (diff provided)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 11/25/2002 17:01:02
>Number: 19172
>Category: pkg
>Synopsis: pkgsrc shouldn't say "Applying ${OPSYS} patches" (patch provided)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 25 17:02:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
pkgsrc seems to report that a patch is OS specific.
>How-To-Repeat:
For example: build png
===> Applying Linux patches for png-1.2.4
>Fix:
--- mk/bsd.pkg.mk.orig Mon Nov 25 16:56:34 2002
+++ mk/bsd.pkg.mk Mon Nov 25 16:57:28 2002
@@ -1745,7 +1745,7 @@
patchlist=`${ECHO} $${patchlist} ${_LOCALPATCHFILES}`; \
fi; \
if [ -n "$${patchlist}" ]; then \
- ${ECHO_MSG} "${_PKGSRC_IN}> Applying ${OPSYS} patches for ${PKGNAME}" ; \
+ ${ECHO_MSG} "${_PKGSRC_IN}> Applying patches for ${PKGNAME}" ; \
fail=""; \
for i in $${patchlist}; do \
if [ ! -f "$$i" ]; then \
@@ -1788,7 +1788,7 @@
;; \
esac; \
if [ ${PATCH_DEBUG_TMP} = yes ]; then \
- ${ECHO_MSG} "${_PKGSRC_IN}> Applying ${OPSYS} patch $$i" ; \
+ ${ECHO_MSG} "${_PKGSRC_IN}> Applying patch $$i" ; \
fi; \
fuzz=""; \
${PATCH} -v > /dev/null 2>&1 && fuzz="${PATCH_FUZZ_FACTOR}"; \
>Release-Note:
>Audit-Trail:
>Unformatted: