summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-08-13 14:46:28 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-08-13 14:46:28 +0000
commit5223f58a4891cb4b842355aa2cdaaed78d901b3c (patch)
treef186b130a66fd45a90789815010748bae1750cef /devel
parentStyle: move GH_* variables closer to each other (diff)
Mk/bsd.sanity.mk: Flag non-integer PORTREVISION/PORTEPOCH
Currently they are not checked and something like PORTREVISION=foo or just PORTREVISION= is accepted. Some ports use indirection via custom variables for them so it is worthwhile to check that they are set to sane values. While here fix ports that currently have non-integer PORTREVISION or PORTEPOCH. Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D21225
Notes
Notes: svn path=/head/; revision=508829
Diffstat (limited to 'devel')
-rw-r--r--devel/elfio/Makefile2
-rw-r--r--devel/subversion/Makefile.addons4
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile
index 9cc1dd37645d..db941c476a6d 100644
--- a/devel/elfio/Makefile
+++ b/devel/elfio/Makefile
@@ -3,7 +3,7 @@
PORTNAME= elfio
PORTVERSION= 3.4
-PORTREVISION=
+PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= SF/elfio/ELFIO-sources/ELFIO-${PORTVERSION}
diff --git a/devel/subversion/Makefile.addons b/devel/subversion/Makefile.addons
index 950e7a03f299..5fb5196316b9 100644
--- a/devel/subversion/Makefile.addons
+++ b/devel/subversion/Makefile.addons
@@ -12,7 +12,7 @@ CONFLICTS_BUILD+= ${PORTNAME}-1.[0-9].[0-9]* \
${PORTNAME}-1.[^1][0-9].[0-9]* \
${PORTNAME}-1.1[0-1].[0-9]* \
${PORTNAME}-lts-1.[0-9][0-9].[0-9]*
-PORTREVISION= ${PORTREVISION_112}
+PORTREVISION= ${PORTREVISION_112:U0}
PLIST_SUB+= SVN112="" SVNLTS="@comment "
LIB_DEPENDS+= libsvn_client-1.so:devel/subversion
OPTIONS_NAME= devel_subversion
@@ -22,7 +22,7 @@ MASTERDIR= ${.CURDIR}/../../devel/subversion
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-lts
CONFLICTS_BUILD+= ${PORTNAME}-1.[0-9].[0-9]* \
${PORTNAME}-1.[0-9][0-9].[0-9]*
-PORTREVISION= ${PORTREVISION_LTS}
+PORTREVISION= ${PORTREVISION_LTS:U0}
PLIST_SUB+= SVN112="@comment " SVNLTS=""
LIB_DEPENDS+= libsvn_client-1.so:devel/subversion-lts
OPTIONS_NAME= devel_subversion-lts