diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-20 17:30:04 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-20 17:30:04 +0800 |
commit | 7218fcd359331bf27c948f33d9de651f1e1658a0 (patch) | |
tree | f52ae53abf6677fcfb02d7a9d4d7d683d06d827e | |
parent | f553f07681de620da3e980de1e6028d19f0b7323 (diff) | |
download | freebsd-ports-gnome-7218fcd359331bf27c948f33d9de651f1e1658a0.tar.gz freebsd-ports-gnome-7218fcd359331bf27c948f33d9de651f1e1658a0.tar.zst freebsd-ports-gnome-7218fcd359331bf27c948f33d9de651f1e1658a0.zip |
Make config-depends target respect NO_DIALOG
Clean out the dialog4ports workdir after installing it
Reported by: flo
Tested by: flo
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 06bf6d3138a5..5cda4b6f96b8 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -6185,14 +6185,14 @@ do-config: .if !target(config-depend) config-depend: -.if !exists(${DIALOG4PORTS}) +.if !exists(${DIALOG4PORTS}) && !defined(NO_DIALOG) @echo -n "dialog4ports isn't installed, do you want to install it now? [Y/n] "; \ read answer; \ case $$answer in \ [Nn]|[Nn][Oo]) \ exit 1; \ esac; \ - cd ${PORTSDIR}/ports-mgmt/dialog4ports; ${MAKE} install + cd ${PORTSDIR}/ports-mgmt/dialog4ports; ${MAKE} install clean .endif .endif |