Package: r-base-dev
Version: 3.1.1-1
Severity: normal
Tags: patch

Hi,

as GNU R 3.2.0 is now released with support for setting the build timestamps it
would be nice to be able to use it.

You could just uncomment lines 75-77 in r-cran.mk to make that happen or leave
the decision to the maintainer and apply my proposed patch.

Maintainers would just have to set builttimeStamp in d/rules:
builttime       := $(shell dpkg-parsechangelog -l$(CURDIR)/debian/changelog |
awk -F': ' '/Date/ {print $$2}')
builttimeStamp  := "--built-timestamp=\"$(builttime)\""


Best,
Philip
--- r-cran.mk.orig	2015-04-17 16:26:02.176622000 +0200
+++ r-cran.mk	2015-04-17 16:26:55.241509934 +0200
@@ -77,7 +77,9 @@
 #builttimeStamp  := "--built-timestamp=\"$(builttime)\""
 ##
 ## else
-builttimeStamp  := ""
+ifeq ($(builttimeStamp),)
+  builttimeStamp := ""
+endif
 
 common-install-indep:: R_any_arch
 common-install-arch:: R_any_arch

Reply via email to