Mk/*: Change references to ServBSD
This commit is contained in:
parent
96e2db1cf1
commit
4afe1344ef
@ -2,7 +2,7 @@
|
||||
|
||||
.if !defined(_SSP_MK_INCLUDED)
|
||||
_SSP_MK_INCLUDED= yes
|
||||
SSP_Include_MAINTAINER= portmgr@FreeBSD.org
|
||||
SSP_Include_MAINTAINER= portmgr@ServBSD.org
|
||||
|
||||
. if !defined(SSP_UNSAFE) && \
|
||||
(! ${ARCH:Mmips*})
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
[ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_ACTUAL_PACKAGE_DEPENDS}" ] && set -x
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# ports/Mk/Scripts/check-stagedir.sh - called from ports/Mk/bsd.stage.mk
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
#
|
||||
# This script serves 2 purposes:
|
||||
# 1. Generate a plist
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
#
|
||||
# This script is used by poudriere and tinderbox(soon) as the source-of-truth for
|
||||
# what should be considered a leftover and what is whitelisted.
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
@ -181,4 +181,3 @@ for _file in "${@}"; do
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
@ -165,4 +165,3 @@ if [ -n "$has_failed" ]; then
|
||||
fi
|
||||
false
|
||||
fi
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# This file for common functions used for port scripts.
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
# Strip (owner,group,perm) from keywords
|
||||
_strip_perms() {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
#
|
||||
# PLIST_SUB_SED helper to sort by longest value first.
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
|
||||
set -o pipefail
|
||||
|
||||
|
||||
@ -87,7 +87,7 @@ END {
|
||||
print "";
|
||||
if (header_printed) {
|
||||
print " If there are vulnerabilities in these programs there may be a security";
|
||||
print " risk to the system. FreeBSD makes no guarantee about the security of";
|
||||
print " risk to the system. ServBSD makes no guarantee about the security of";
|
||||
print " ports included in the Ports Collection. Please type 'make deinstall'";
|
||||
print " to deinstall the port if this is a concern.";
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
# UNAUTHORISED CHANGES WILL BE UNCONDITIONALLY REVERTED!
|
||||
#
|
||||
|
||||
COMMANDS_Include_MAINTAINER= portmgr@FreeBSD.org
|
||||
COMMANDS_Include_MAINTAINER= portmgr@ServBSD.org
|
||||
|
||||
.if !defined(_COMMANDSMKINCLUDED)
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# MAINTAINER: ports@FreeBSD.org
|
||||
# MAINTAINER: ports@ServBSD.org
|
||||
#
|
||||
# Note: before committing to this file, contact portmgr to arrange for an
|
||||
# experimental ports run. Untested commits may be backed out at portmgr's
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
#-*- tab-width: 4; -*-
|
||||
# ex:ts=4
|
||||
|
||||
# ** Please run changes to this file by eadler@ first **
|
||||
|
||||
Licenses_Include_MAINTAINER= portmgr@FreeBSD.org
|
||||
Licenses_Include_MAINTAINER= portmgr@ServBSD.org
|
||||
|
||||
#
|
||||
# bsd.licenses.mk - License auditing framework.
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
# - OPTION_DESC?= must be 19 characters or less
|
||||
# - OPTION description text must be 43 characters or less
|
||||
#
|
||||
# - This file is maintained by ports@FreeBSD.org so that entries can be added
|
||||
# - This file is maintained by ports@ServBSD.org so that entries can be added
|
||||
# to it easily. Any sweeping changes should be approved by portmgr@.
|
||||
|
||||
Options_Desc_MAINTAINER= ports@FreeBSD.org
|
||||
Options_Desc_MAINTAINER= ports@ServBSD.org
|
||||
|
||||
# OPTION_DESC: Description:
|
||||
# Length | | Length |
|
||||
|
||||
@ -19,16 +19,16 @@
|
||||
# A RESPONSE FROM THE MAINTAINER(S) WITHIN A REASONABLE TIMEFRAME! ALL
|
||||
# UNAUTHORISED CHANGES WILL BE UNCONDITIONALLY REVERTED!
|
||||
|
||||
FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
||||
FreeBSD_MAINTAINER= portmgr@ServBSD.org
|
||||
|
||||
# For each port, the MAINTAINER variable is what you should consult for
|
||||
# contact information on the person(s) to contact if you have questions/
|
||||
# suggestions about that specific port. By default (if no MAINTAINER
|
||||
# is listed), a port is maintained by the subscribers of the ports@FreeBSD.org
|
||||
# is listed), a port is maintained by the subscribers of the ports@ServBSD.org
|
||||
# mailing list, and any correspondence should be directed there.
|
||||
#
|
||||
# MAINTAINER - The e-mail address of the contact person for this port.
|
||||
# Default: ports@FreeBSD.org
|
||||
# Default: ports@ServBSD.org
|
||||
#
|
||||
# These are meta-variables that are automatically set to the system
|
||||
# you are running on. These are provided in case you need to take
|
||||
@ -1103,7 +1103,7 @@ makepatch:
|
||||
. if defined(INOPTIONSMK) || ( !defined(USEOPTIONSMK) && !defined(AFTERPORTMK) )
|
||||
|
||||
# Get the default maintainer
|
||||
MAINTAINER?= ports@FreeBSD.org
|
||||
MAINTAINER?= ports@ServBSD.org
|
||||
|
||||
# Get the architecture
|
||||
. if !defined(ARCH)
|
||||
@ -1161,7 +1161,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
|
||||
. endif
|
||||
_EXPORTED_VARS+= OSVERSION
|
||||
|
||||
. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1304000 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1402000))
|
||||
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1402000
|
||||
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
|
||||
are guaranteed to build on this system. Please upgrade to a supported release.
|
||||
. if defined(ALLOW_UNSUPPORTED_SYSTEM)
|
||||
@ -1877,12 +1877,6 @@ PKG_ENV+= SHLIB_PROVIDE_PATHS_NATIVE="${_ALL_LIB_DIRS:O:u:ts,}"
|
||||
_ALL_LIB_DIRS_32= /usr/lib32 ${LOCALBASE}/lib32 ${USE_LDCONFIG32}
|
||||
PKG_ENV+= SHLIB_PROVIDE_PATHS_COMPAT_32="${_ALL_LIB_DIRS_32:O:u:ts,}"
|
||||
. endif
|
||||
. if ${LINUX_DEFAULT} == c7 || ${LINUX_DEFAULT} == rl9
|
||||
PKG_ENV+= SHLIB_PROVIDE_PATHS_COMPAT_LINUX="${LINUXBASE}/usr/lib64"
|
||||
PKG_ENV+= SHLIB_PROVIDE_PATHS_COMPAT_LINUX_32="${LINUXBASE}/usr/lib"
|
||||
. else
|
||||
. warning "Unknown Linux distribution ${LINUX_DEFAULT}, SHLIB_PROVIDE_PATHS_COMPAT_LINUX will not be set!"
|
||||
. endif
|
||||
|
||||
. if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32)
|
||||
. if defined(USE_LINUX_PREFIX)
|
||||
@ -2057,8 +2051,6 @@ _MAKE_JOBS?= -j${MAKE_JOBS_NUMBER}
|
||||
BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer.
|
||||
. endif
|
||||
|
||||
.include "${PORTSDIR}/Mk/bsd.ccache.mk"
|
||||
|
||||
. if !make(makesum)
|
||||
FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
|
||||
. endif
|
||||
@ -3031,20 +3023,6 @@ buildanyway-message:
|
||||
. if !target(check-deprecated)
|
||||
# Try and keep these messages in sync with the ones in Mk/Scripts/create-manifest.sh
|
||||
check-deprecated:
|
||||
. if ${MAINTAINER} == "ports@FreeBSD.org"
|
||||
@${ECHO_MSG} "===> NOTICE:"
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "The ${PORTNAME} port currently does not have a maintainer. As a result, it is"
|
||||
@${ECHO_MSG} "more likely to have unresolved issues, not be up-to-date, or even be removed in"
|
||||
@${ECHO_MSG} "the future. To volunteer to maintain this port, please create an issue at:"
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "https://bugs.freebsd.org/bugzilla"
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "More information about port maintainership is available at:"
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "https://docs.freebsd.org/en/articles/contributing/#ports-contributing"
|
||||
@${ECHO_MSG}
|
||||
. endif
|
||||
. if defined(DEPRECATED)
|
||||
@${ECHO_MSG} "===> NOTICE:"
|
||||
@${ECHO_MSG}
|
||||
|
||||
184
Mk/bsd.sanity.mk
184
Mk/bsd.sanity.mk
@ -1,4 +1,4 @@
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
# MAINTAINER: portmgr@ServBSD.org
|
||||
#
|
||||
|
||||
# Warnings for everyone
|
||||
@ -57,141 +57,141 @@ ERROR+= "${a} is unsupported, please use ${${a}_ALT}"
|
||||
# Warnings only when DEVELOPER=yes
|
||||
.if defined(DEVELOPER)
|
||||
|
||||
.if exists(${.CURDIR}/../../Mk/bsd.port.mk) || ${OVERLAYS:tA:M${.CURDIR:H:H}} == ${.CURDIR:H:H}
|
||||
. if ${.CURDIR:H:T} != ${PKGCATEGORY}
|
||||
. if exists(${.CURDIR}/../../Mk/bsd.port.mk) || ${OVERLAYS:tA:M${.CURDIR:H:H}} == ${.CURDIR:H:H}
|
||||
. if ${.CURDIR:H:T} != ${PKGCATEGORY}
|
||||
DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives"
|
||||
. endif
|
||||
.else
|
||||
. endif
|
||||
. else
|
||||
DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing."
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_PERL5) && ${USE_PERL5} == yes
|
||||
. if defined(USE_PERL5) && ${USE_PERL5} == yes
|
||||
DEV_ERROR+= "USE_PERL5=yes is unsupported, please use USES=perl5 instead"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if !empty(LIB_DEPENDS:M*/../*)
|
||||
. if !empty(LIB_DEPENDS:M*/../*)
|
||||
DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if !empty(RUN_DEPENDS:M*/../*)
|
||||
. if !empty(RUN_DEPENDS:M*/../*)
|
||||
DEV_ERROR+= "RUN_DEPENDS contains unsupported relative path to dependency"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_GNOME) && ${USE_GNOME:Mpkgconfig}
|
||||
. if defined(USE_GNOME) && ${USE_GNOME:Mpkgconfig}
|
||||
DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_ZOPE) && ${USE_ZOPE} == yes
|
||||
. if defined(USE_ZOPE) && ${USE_ZOPE} == yes
|
||||
DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_SDL) && ${USE_SDL} == yes
|
||||
. if defined(USE_SDL) && ${USE_SDL} == yes
|
||||
DEV_ERROR+= "USE_SDL=yes is unsupported, please use USE_SDL=sdl instead"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_GITHUB) && defined(GH_COMMIT)
|
||||
. if defined(USE_GITHUB) && defined(GH_COMMIT)
|
||||
DEV_ERROR+= "GH_COMMIT is unsupported, please convert GHL-\>GH in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack}
|
||||
. if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack}
|
||||
DEV_WARNING+= "USE_GNOME=gnomehack is deprecated, please use USES=pathfix"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_GNOME) && ${USE_GNOME:Mdesktopfileutils}
|
||||
. if defined(USE_GNOME) && ${USE_GNOME:Mdesktopfileutils}
|
||||
DEV_WARNING+= "USE_GNOME=desktopfileutils is deprecated, please use USES=desktop-file-utils"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*}
|
||||
. if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*}
|
||||
DEV_ERROR+= "All LIB_DEPENDS should use the new format and start out with lib. \(libfoo.so vs foo.so\)"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(LICENSE)
|
||||
. if ${LICENSE:MBSD}
|
||||
. if defined(LICENSE)
|
||||
. if ${LICENSE:MBSD}
|
||||
DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE"
|
||||
. endif
|
||||
.elif !defined(DISABLE_LICENSES)
|
||||
. if empty(USES:Mmetaport)
|
||||
. endif
|
||||
. elif !defined(DISABLE_LICENSES)
|
||||
. if empty(USES:Mmetaport)
|
||||
DEV_WARNING+= "Please set LICENSE for this port"
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.for _a in ${ONLY_FOR_ARCHS}
|
||||
. if defined(ONLY_FOR_ARCHS_REASON_${_a})
|
||||
. for _a in ${ONLY_FOR_ARCHS}
|
||||
. if defined(ONLY_FOR_ARCHS_REASON_${_a})
|
||||
DEV_WARNING+= "ONLY_FOR_ARCHS_${_a} is defined and ${_a} is in ONLY_FOR_ARCHS, the message will never be used."
|
||||
. endif
|
||||
.endfor
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
.if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
|
||||
. if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
|
||||
DEV_ERROR+= "USE_PYDISTUTILS=easy_install is no longer supported, please use USE_PYDISTUTILS=yes"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_PYTHON) && (${USE_PYTHON} == "yes" || ${USE_PYTHON:C/[-0-9.+]*//} == "")
|
||||
. if defined(USE_PYTHON) && (${USE_PYTHON} == "yes" || ${USE_PYTHON:C/[-0-9.+]*//} == "")
|
||||
_PYTHON_VAL := ${USE_PYTHON}
|
||||
. if ${_PYTHON_VAL} != "yes"
|
||||
. if ${_PYTHON_VAL} != "yes"
|
||||
DEV_ERROR+= "USE_PYTHON=${_PYTHON_VAL} is no longer supported, please use USES=python:${_PYTHON_VAL}"
|
||||
. else
|
||||
. else
|
||||
DEV_ERROR+= "USE_PYTHON=yes is no longer supported, please use USES=python"
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
.if defined(USE_PYTHON_RUN)
|
||||
. if ${USE_PYTHON_RUN} != "yes"
|
||||
. if defined(USE_PYTHON_RUN)
|
||||
. if ${USE_PYTHON_RUN} != "yes"
|
||||
DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:${USE_PYTHON_RUN},run"
|
||||
. else
|
||||
. else
|
||||
DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:run"
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
.if defined(USE_PYTHON_BUILD)
|
||||
. if ${USE_PYTHON_BUILD} != "yes"
|
||||
. if defined(USE_PYTHON_BUILD)
|
||||
. if ${USE_PYTHON_BUILD} != "yes"
|
||||
DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:${USE_PYTHON_BUILD},build"
|
||||
. else
|
||||
. else
|
||||
DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:build"
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} == YES
|
||||
. if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} == YES
|
||||
DEV_ERROR+= "USE_RC_SUBR=yes has not been supported for a long time, remove it."
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \
|
||||
. if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \
|
||||
defined(USE_TK) || defined(USE_TK_BUILD) || defined(USE_TK_RUN) || defined(USE_TK_WRAPPER)
|
||||
DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk"
|
||||
.endif
|
||||
|
||||
.if defined(USE_FPC) && ${USE_FPC:tl} == "yes"
|
||||
DEV_ERROR+= "USE_FPC=yes is no longer supported, please use USES=fpc"
|
||||
.endif
|
||||
|
||||
.if ! empty(USES:Mruby) && ! empty(USES:Mgem)
|
||||
DEV_ERROR= "'USES=gem' implies 'USES=ruby'. You should not specify both of them"
|
||||
.endif
|
||||
|
||||
.for _type in EXAMPLES DOCS
|
||||
. if defined(PORT${_type}) && empty(_REALLY_ALL_POSSIBLE_OPTIONS:M${_type})
|
||||
DEV_ERROR+= "PORT${_type} does not do anything unless the ${_type} option is present."
|
||||
. endif
|
||||
.endfor
|
||||
|
||||
.if empty(PORTEPOCH) || !empty(PORTEPOCH:C/[0-9]+//)
|
||||
. if defined(USE_FPC) && ${USE_FPC:tl} == "yes"
|
||||
DEV_ERROR+= "USE_FPC=yes is no longer supported, please use USES=fpc"
|
||||
. endif
|
||||
|
||||
. if ! empty(USES:Mruby) && ! empty(USES:Mgem)
|
||||
DEV_ERROR= "'USES=gem' implies 'USES=ruby'. You should not specify both of them"
|
||||
. endif
|
||||
|
||||
. for _type in EXAMPLES DOCS
|
||||
. if defined(PORT${_type}) && empty(_REALLY_ALL_POSSIBLE_OPTIONS:M${_type})
|
||||
DEV_ERROR+= "PORT${_type} does not do anything unless the ${_type} option is present."
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
. if empty(PORTEPOCH) || !empty(PORTEPOCH:C/[0-9]+//)
|
||||
DEV_ERROR+= "PORTEPOCH needs to be an integer \>= 0"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if empty(PORTREVISION) || !empty(PORTREVISION:C/[0-9]+//)
|
||||
. if empty(PORTREVISION) || !empty(PORTREVISION:C/[0-9]+//)
|
||||
DEV_ERROR+= "PORTREVISION needs to be an integer \>= 0"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
# Whitelist of options helper lookalikes that should not be reported on:
|
||||
_OPTIONS_HELPERS_SEEN+= OPENSSL_LDFLAGS
|
||||
_BROKEN_OPTIONS_HELPERS=
|
||||
.for opt in ${_REALLY_ALL_POSSIBLE_OPTIONS}
|
||||
. for helper in ${_ALL_OPTIONS_HELPERS}
|
||||
. if defined(${opt}_${helper}) && empty(_OPTIONS_HELPERS_SEEN:M${opt}_${helper})
|
||||
. for opt in ${_REALLY_ALL_POSSIBLE_OPTIONS}
|
||||
. for helper in ${_ALL_OPTIONS_HELPERS}
|
||||
. if defined(${opt}_${helper}) && empty(_OPTIONS_HELPERS_SEEN:M${opt}_${helper})
|
||||
_BROKEN_OPTIONS_HELPERS+= ${opt}_${helper}
|
||||
. endif
|
||||
. endif
|
||||
. endfor
|
||||
. endfor
|
||||
.endfor
|
||||
.if !empty(_BROKEN_OPTIONS_HELPERS)
|
||||
. if !empty(_BROKEN_OPTIONS_HELPERS)
|
||||
DEV_ERROR+= "The following options helpers are incorrectly set after bsd.port.options.mk and are ineffective: ${_BROKEN_OPTIONS_HELPERS}"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
|
||||
USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \
|
||||
@ -221,10 +221,10 @@ SANITY_DEPRECATED= MLINKS \
|
||||
SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE USE_KDEBASE_VER \
|
||||
USE_KDELIBS_VER USE_QT_VER
|
||||
|
||||
.for a in 1 2 3 4 5 6 7 8 9 L N
|
||||
. for a in 1 2 3 4 5 6 7 8 9 L N
|
||||
SANITY_DEPRECATED+= MAN${a}
|
||||
MAN${a}_ALT= pkg-plist to list manpages
|
||||
.endfor
|
||||
. endfor
|
||||
|
||||
USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes
|
||||
USE_OPENAL_ALT= USES=openal
|
||||
@ -328,22 +328,22 @@ JAVA_EXTRACT_ALT= USES=java:extract
|
||||
JAVA_BUILD_ALT= USES=java:build
|
||||
JAVA_RUN_ALT= USES=java:run
|
||||
|
||||
.for a in ${SANITY_DEPRECATED}
|
||||
. if defined(${a})
|
||||
. for a in ${SANITY_DEPRECATED}
|
||||
. if defined(${a})
|
||||
DEV_WARNING+= "${a} is deprecated, please use ${${a}_ALT}"
|
||||
. endif
|
||||
.endfor
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
.for a in ${SANITY_NOTNEEDED}
|
||||
. if defined(${a})
|
||||
. for a in ${SANITY_NOTNEEDED}
|
||||
. if defined(${a})
|
||||
DEV_WARNING+= "${a} is not needed: ${${a}_REASON}"
|
||||
. endif
|
||||
.endfor
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
.for a in ${SANITY_UNSUPPORTED}
|
||||
. if defined(${a})
|
||||
. for a in ${SANITY_UNSUPPORTED}
|
||||
. if defined(${a})
|
||||
DEV_ERROR+= "${a} is unsupported, please use ${${a}_ALT}"
|
||||
. endif
|
||||
.endfor
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
.endif # defined(DEVELOPER)
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
# bsd.sites.mk - Popular master sites.
|
||||
#
|
||||
# Sites_MAINTAINER= ports@FreeBSD.org
|
||||
# Sites_MAINTAINER= ports@ServBSD.org
|
||||
#
|
||||
# This file does not have any designated maintainer, so feel free to
|
||||
# commit to it yourself. However, it is generally a good idea to
|
||||
# notify the principal maintainer in case you have a change to one of
|
||||
# the software environments (KDE, GNOME, etc.).
|
||||
# the software environments.
|
||||
#
|
||||
# Also, this file is included from bsd.port.mk for all invocations, so
|
||||
# committing a syntax error to this file is a cardinal sin, and will
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user