pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
git-package: Git doesn't support CVS-like CHECKOUT_DATE
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Sep 25 01:45:38 2015 +0200
Changeset: ec5db93405a4b11c1cf0def8242dbc554a9b2028
Modified Files:
mk/git-package.mk
Log Message:
git-package: Git doesn't support CVS-like CHECKOUT_DATE
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec5db93405a4b11c1cf0def8242dbc554a9b2028
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mk/git-package.mk | 10 ----------
1 file changed, 10 deletions(-)
diffs:
diff --git a/mk/git-package.mk b/mk/git-package.mk
index 137b0cf..79c9e68 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -30,11 +30,7 @@ BUILD_DEPENDS+= git-base>=1.6.4:../../devel/git-base
DISTFILES?= # empty
.if empty(GIT_TAG)
-. if defined(CHECKOUT_DATE)
-PKGREVISION?= $(CHECKOUT_DATE:S/-//g)
-. else
PKGREVISION?= ${_GIT_PKGVERSION:S/.//g}
-. endif
.endif
#
@@ -85,12 +81,6 @@ _GIT_TAG.${repo}= ${GIT_TAG.${repo}}
. elif defined(GIT_TAG)
_GIT_TAG_FLAG.${repo}= -r${GIT_TAG}
_GIT_TAG.${repo}= ${GIT_TAG}
-. elif defined(CHECKOUT_DATE)
-_GIT_TAG_FLAG.${repo}= -D${CHECKOUT_DATE:Q}
-_GIT_TAG.${repo}= ${CHECKOUT_DATE:Q}
-. else
-_GIT_TAG_FLAG.${repo}= '-D${_GIT_TODAY} 00:00 +0000'
-_GIT_TAG.${repo}= ${_GIT_TODAY:Q}
. endif
# Cache support:
Home |
Main Index |
Thread Index |
Old Index