diff options
-rw-r--r-- | Mk/bsd.port.subdir.mk | 10 | ||||
-rwxr-xr-x | Tools/scripts/chkversion.pl | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk index 46ce0f894f6d..1dfe5b20d8f7 100644 --- a/Mk/bsd.port.subdir.mk +++ b/Mk/bsd.port.subdir.mk @@ -140,15 +140,6 @@ _JAVA_PORTS_INSTALLED!= ${MAKE} -V _JAVA_PORTS_INSTALLED USE_JAVA=1 -f ${PORTSD UID!= ${ID} -u .endif -.if exists(${LOCALBASE}/sbin/pkg_info) -PKG_INFO?= ${LOCALBASE}/sbin/pkg_info -.else -PKG_INFO?= /usr/sbin/pkg_info -.endif -.if !defined(PKGINSTALLVER) -PKGINSTALLVER!= ${PKG_INFO} -P 2>/dev/null | ${SED} -e 's/.*: //' -.endif - .endif INDEXDIR?= ${PORTSDIR} @@ -374,7 +365,6 @@ README.html: OSREL="${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OSVERSION="${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ UID="${UID:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ - PKGINSTALLVER="${PKGINSTALLVER:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ HAVE_COMPAT_IA32_KERN="${HAVE_COMPAT_IA32_KERN}" \ CONFIGURE_MAX_CMD_LEN="${CONFIGURE_MAX_CMD_LEN}" \ PYTHON_DEFAULT_VERSION="${PYTHON_DEFAULT_VERSION}" \ diff --git a/Tools/scripts/chkversion.pl b/Tools/scripts/chkversion.pl index b56b9f48b340..c15dcb4eae89 100755 --- a/Tools/scripts/chkversion.pl +++ b/Tools/scripts/chkversion.pl @@ -123,7 +123,7 @@ sub readfrom { return wantarray ? @childout : $childout[0]; } -foreach (qw(ARCH OPSYS OSREL OSVERSION PKGINSTALLVER UID)) { +foreach (qw(ARCH OPSYS OSREL OSVERSION UID)) { my @cachedenv = readfrom $portsdir, $make, "-V$_"; $ENV{$_} = $cachedenv[0]; } |