summaryrefslogtreecommitdiff
path: root/x11/nvidia-driver/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'x11/nvidia-driver/Makefile.common')
-rw-r--r--x11/nvidia-driver/Makefile.common13
1 files changed, 0 insertions, 13 deletions
diff --git a/x11/nvidia-driver/Makefile.common b/x11/nvidia-driver/Makefile.common
index 67b10e0f1eb8..1236ca04b803 100644
--- a/x11/nvidia-driver/Makefile.common
+++ b/x11/nvidia-driver/Makefile.common
@@ -26,16 +26,3 @@ NVVERSION= ${DISTVERSION:S/./.0/} # allow minor > 99
NVVERSION= ${DISTVERSION}
. endif
.endif
-
-# Target below can be used instead of standard `makesum' to correctly
-# update distinfo (i.e., keeping other driver version entries intact)
-.if ${.TARGETS:Mupdate-distinfo}
-DISTINFO_FILE= ${MASTERDIR}/distinfo.new
-.endif
-
-update-distinfo: makesum .SILENT
- ${REINPLACE_CMD} -e '/${ARCH_SUFX}-${NVVERSION:R}/s/^/~/' \
- ${MASTERDIR}/distinfo
- ${REINPLACE_CMD} -e '/^~SHA256/r ${DISTINFO_FILE}' -e '/^~/d' \
- ${MASTERDIR}/distinfo
- ${RM} ${DISTINFO_FILE} ${MASTERDIR}/distinfo.bak