tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: HEADS UP: png updated to 1.4.2
Hi!
On Mon, 14 Jun 2010 07:49:36 +0900, Thomas Klausner <wiz%netbsd.org@localhost>
wrote:
I've just committed the update for png from 1.2.x to 1.4.2. I've run
multiple limited bulk builds[1][2] to identify and fix problems
introduced with this change. I've committed the patches needed with
the PKGREVISION bump commit.
I've bumped some packages additionally, found by
% grep libpng12 /var/db/pkg/*/+BUILD_INFO
audio/arts lib/libqtmcop.so
devel/m17n-lib bin/m17n-dump
fonts/gucharmap lib/libgucharmap.so
inputmethod/gtk-im-libthai immodules
inputmethod/uim immodules
(maybe some more missing packages, I've not installed)
Does it mean that additional cares is required for recursive revision bump
other than notes in revbump(1)?
And I'm using following patch for "make replace" with pkg_rolling-replace,
because "set unsafe_depends=YES" may help to detect build failure with updated
packages, but hide above missing revbump issues.
Index: replace.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/flavor/pkg/replace.mk,v
retrieving revision 1.29
diff -u -r1.29 replace.mk
--- replace.mk 12 Jun 2010 00:53:43 -0000 1.29
+++ replace.mk 16 Jun 2010 14:39:38 -0000
@@ -194,20 +194,17 @@
@${PHASE_MSG} "Updating using binary package of "${PKGNAME:Q}
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
@${MKDIR} ${_CROSS_DESTDIR}${PREFIX}
- ${PKG_ADD} -U -f -m ${MACHINE_ARCH} -I -p ${_CROSS_DESTDIR}${PREFIX}
${PKGFILE}
+ ${PKG_ADD} -U -m ${MACHINE_ARCH} -I -p ${_CROSS_DESTDIR}${PREFIX}
${PKGFILE}
@${ECHO} "Fixing recorded cwd..."
@${SED} -e 's|@cwd ${_CROSS_DESTDIR}|@cwd |'
${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS > ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS.tmp
@${MV} ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS.tmp
${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS
.else
- ${PKG_ADD} -U -f ${PKGFILE}
+ ${PKG_ADD} -U ${PKGFILE}
.endif
${RUN}${_REPLACE_OLDNAME_CMD}; \
${PKG_INFO} -qR ${PKGNAME:Q} | while read pkg; do \
[ -n "$$pkg" ] || continue; \
${PKG_ADMIN} set unsafe_depends_strict=YES "$$pkg"; \
- if [ "$$oldname" != ${PKGNAME:Q} ]; then \
- ${PKG_ADMIN} set unsafe_depends=YES "$$pkg"; \
- fi; \
done
${RUN}${PKG_ADMIN} unset unsafe_depends ${PKGNAME:Q}
${RUN}${PKG_ADMIN} unset unsafe_depends_strict ${PKGNAME:Q}
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index