View | Details | Raw Unified | Return to bug 65926
Collapse All | Expand All

(-)bsd.port.mk (-2 / +12 lines)
Lines 972-985 Link Here
972
.endif
972
.endif
973
.endif
973
.endif
974
974
975
PORTREVISION?=	0
975
.if defined(PORTREVISION)
976
.if ${PORTREVISION} != 0
976
.if ${PORTREVISION} != 0
977
.if ${PORTREVISION:M*[0-9]*}x !=x
977
_SUF1=	_${PORTREVISION}
978
_SUF1=	_${PORTREVISION}
979
.else
980
BROKEN=			"PORTREVISION should contain only numbers."
981
.endif
982
.endif
978
.endif
983
.endif
979
984
980
PORTEPOCH?=		0
985
.if defined(PORTEPOCH)
981
.if ${PORTEPOCH} != 0
986
.if ${PORTEPOCH} != 0
987
.if ${PORTEPOCH:M*[0-9]*}x !=x
982
_SUF2=	,${PORTEPOCH}
988
_SUF2=	,${PORTEPOCH}
989
.else
990
BROKEN=			"PORTEPOCH should contain only numbers."
991
.endif
992
.endif
983
.endif
993
.endif
984
994
985
# check for old, crufty, makefile types, part 2.  The "else" case
995
# check for old, crufty, makefile types, part 2.  The "else" case

Return to bug 65926