mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Avoid defining do-install if NO_INSTALL is defined
This commit is contained in:
parent
2efcdc99a9
commit
214e082755
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374845
@ -3033,12 +3033,6 @@ build: configure
|
||||
@${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE}
|
||||
.endif
|
||||
|
||||
# Disable install
|
||||
.if defined(NO_INSTALL) && !target(do-install)
|
||||
do-install:
|
||||
@${DO_NADA}
|
||||
.endif
|
||||
|
||||
# Disable package
|
||||
.if defined(NO_PACKAGE) && !target(package)
|
||||
package:
|
||||
@ -3561,7 +3555,7 @@ check-install-conflicts:
|
||||
|
||||
# Install
|
||||
|
||||
.if !target(do-install)
|
||||
.if !target(do-install) && !defined(NO_INSTALL)
|
||||
do-install:
|
||||
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user