aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-06-25 13:35:31 +0800
committerbapt <bapt@FreeBSD.org>2014-06-25 13:35:31 +0800
commit7081e7e5b12afca923788e24924af7212c2bc526 (patch)
tree6379d84ceeca72bc6c80702dd60bd714b378b04a /ports-mgmt
parentd11d1e4cc7b3c1ec281b2ea35d2fc5d85e4c5102 (diff)
downloadfreebsd-ports-gnome-7081e7e5b12afca923788e24924af7212c2bc526.tar.gz
freebsd-ports-gnome-7081e7e5b12afca923788e24924af7212c2bc526.tar.zst
freebsd-ports-gnome-7081e7e5b12afca923788e24924af7212c2bc526.zip
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portlint/src/portlint.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 2d35e85266a3..2a7fccc05e7c 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -1152,7 +1152,7 @@ sub check_depends_syntax {
}
# check USES=gmake
- if ($m{'dep'} =~ /^(gmake|\${GMAKE})$/) {
+ if ($m{'dep'} =~ /^(gmake|\${MAKE_CMD})$/) {
&perror("WARN", $file, -1, "dependency to $1 ".
"listed in $j. consider using ".
"USES[+]=gmake.");
@@ -2125,11 +2125,11 @@ ruby sed sdl-config sh sort sysctl touch tr which xargs xmkmf
}
#
- # whole file: check for USE_ANT and USE_GMAKE both defined
+ # whole file: check for USE_ANT and USE_MAKE_CMD both defined
#
- if ($use_ant && $whole =~ /^USE_GMAKE[?:]?=\s*(.*)$/m) {
+ if ($use_ant && $whole =~ /^USE_MAKE_CMD[?:]?=\s*(.*)$/m) {
&perror("WARN", $file, -1, "a port shall not define both USE_ANT ".
- "and USE_GMAKE");
+ "and USE_MAKE_CMD");
}
#