Date: Mon, 22 Jun 1998 16:56:38 +0200 (CEST) From: Stefan Eggers <seggers@semyam.dinoco.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: seggers@semyam.dinoco.de Subject: bin/7022: changes to bsd.port.mk to accompany PR bin/7021 Message-ID: <199806221456.QAA09547@semyam.dinoco.de>
next in thread | raw e-mail | index | archive | help
>Number: 7022
>Category: bin
>Synopsis: changes to bsd.port.mk to accompany PR bin/7021
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 22 08:10:01 PDT 1998
>Last-Modified:
>Originator: Stefan Eggers
>Organization:
none
>Release: FreeBSD 2.2.6-STABLE i386
>Environment:
2.2-stable CVSUped last weekend.
>Description:
This changes to the make file allows to install a port from
the ports collection with the size estimation generated by the new
pkg_create from PR bin/7021. That makes it behave like installing
the actual package.
>How-To-Repeat:
Look at the behavior of "make install" in a subdirectory of
the ports colllection. It doesn't generate the +SIZE file in the
package database.
>Fix:
--- bsd.port.mk.ORIG Sat Jun 20 22:21:00 1998
+++ bsd.port.mk Mon Jun 22 16:49:37 1998
@@ -1774,6 +1774,7 @@
${ECHO_MSG} "===> Registering installation for ${PKGNAME}"; \
${MKDIR} ${PKG_DBDIR}/${PKGNAME}; \
${PKG_CMD} ${PKG_ARGS} -O ${PKGFILE} > ${PKG_DBDIR}/${PKGNAME}/+CONTENTS; \
+ ${PKG_CMD} ${PKG_ARGS} -S ${PKG_DBDIR}/${PKGNAME}/+SIZE -z ${PKGFILE}; \
${CP} ${DESCR} ${PKG_DBDIR}/${PKGNAME}/+DESC; \
${CP} ${COMMENT} ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \
if [ -f ${PKGDIR}/INSTALL ]; then \
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806221456.QAA09547>
