svn commit: r314719 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Wed Mar 20 09:30:04 UTC 2013


Author: bapt
Date: Wed Mar 20 09:30:04 2013
New Revision: 314719
URL: http://svnweb.freebsd.org/changeset/ports/314719

Log:
  Make config-depends target respect NO_DIALOG
  Clean out the dialog4ports workdir after installing it
  
  Reported by:	flo
  Tested by:	flo

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Mar 20 08:56:07 2013	(r314718)
+++ head/Mk/bsd.port.mk	Wed Mar 20 09:30:04 2013	(r314719)
@@ -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
 


More information about the svn-ports-head mailing list