svn commit: r465615 - head/Tools/scripts

Rene Ladan rene at FreeBSD.org
Mon Mar 26 16:55:53 UTC 2018


Author: rene
Date: Mon Mar 26 16:55:52 2018
New Revision: 465615
URL: https://svnweb.freebsd.org/changeset/ports/465615

Log:
  Detect flavored dependencies in Tools/scripts/rmport and add myself to the copyright.

Modified:
  head/Tools/scripts/rmport

Modified: head/Tools/scripts/rmport
==============================================================================
--- head/Tools/scripts/rmport	Mon Mar 26 16:35:45 2018	(r465614)
+++ head/Tools/scripts/rmport	Mon Mar 26 16:55:52 2018	(r465615)
@@ -4,6 +4,7 @@
 #
 # Copyright 2006-2007 Vasil Dimov
 # Copyright 2012-2012 Chris Rees
+# Copyright 2016-2018 Rene Ladan
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -163,7 +164,7 @@ check_dep_core()
 	fi
 
 	# check if some Makefiles mention the port to be deleted
-	portdir_grep="^[^#].*/`basename ${catport}`([[:space:]]|/|$)"
+	portdir_grep="^[^#].*/`basename ${catport}`([[:space:]]|@|/|$)"
 	r="`find -H ${PORTSDIR} -mindepth 2 -maxdepth 3 \
 		\( -name "Makefile*" -or -path "*Mk/*.mk" \) \
 		|xargs grep -EH "${portdir_grep}" \


More information about the svn-ports-all mailing list