mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
added the following checking:
"in *_DEPENDS, ${PREFIX} must not be used. use ${LOCALBASE}/${X11BASE} instead of it." Commented by: asami Reviewed by: taoka
This commit is contained in:
parent
8f641bab83
commit
942ecd986a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22049
@ -6,7 +6,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= portlint-2.0
|
||||
DISTNAME= portlint-2.1
|
||||
CATEGORIES= devel
|
||||
DISTFILES= #empty
|
||||
|
||||
|
@ -981,6 +981,14 @@ EOF
|
||||
"$j is deprecated.");
|
||||
}
|
||||
|
||||
# check for PREFIX
|
||||
if ($m{'dep'} =~ /\${PREFIX}/) {
|
||||
&perror("FATAL: \${PREFIX} must not be ".
|
||||
"contained in *_DEPENDS. ".
|
||||
"use \${LOCALBASE} or ".
|
||||
"\${X11BASE} instead.");
|
||||
}
|
||||
|
||||
# check port dir existence
|
||||
$k = $m{'dir'};
|
||||
$k =~ s/\${PORTSDIR}/$ENV{'PORTSDIR'}/;
|
||||
|
@ -6,7 +6,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= portlint-2.0
|
||||
DISTNAME= portlint-2.1
|
||||
CATEGORIES= devel
|
||||
DISTFILES= #empty
|
||||
|
||||
|
@ -981,6 +981,14 @@ EOF
|
||||
"$j is deprecated.");
|
||||
}
|
||||
|
||||
# check for PREFIX
|
||||
if ($m{'dep'} =~ /\${PREFIX}/) {
|
||||
&perror("FATAL: \${PREFIX} must not be ".
|
||||
"contained in *_DEPENDS. ".
|
||||
"use \${LOCALBASE} or ".
|
||||
"\${X11BASE} instead.");
|
||||
}
|
||||
|
||||
# check port dir existence
|
||||
$k = $m{'dir'};
|
||||
$k =~ s/\${PORTSDIR}/$ENV{'PORTSDIR'}/;
|
||||
|
Loading…
Reference in New Issue
Block a user