ports/167085: [patch] [bsd.port.mk] fix make reinstall
Garrett Cooper
yanegomi at gmail.com
Thu Apr 19 05:30:09 UTC 2012
>Number: 167085
>Category: ports
>Synopsis: [patch] [bsd.port.mk] fix make reinstall
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 19 05:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9.0-RELEASE
>Organization:
n/a
>Environment:
FreeBSD fuji-9.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
make reinstall has been broken since at least rev # 1.258 ( http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk#rev1.258 ). The attached change does the minimum work necessary to make ``make reinstall`` work.
>How-To-Repeat:
cd /usr/ports/benchmarks/xdd
make install
make reinstall
>Fix:
Patch attached with submission follows:
diff --git a/bsd.port.mk b/bsd.port.mk
index 3be8461..eee7e3c 100644
--- a/bsd.port.mk
+++ b/bsd.port.mk
@@ -4469,7 +4469,7 @@ checkpatch:
.if !target(reinstall)
reinstall:
@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
- @cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} install
+ @cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install
.endif
# Deinstall
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list