graphics/sane-backends: Make reproducible

- Don't add a timestamp at build time to the docs
- While here add missing USES=jpeg

PR:		223620
Submitted by:	Michael Kotlyar <mdk369@nyu.edu>
This commit is contained in:
Tobias Kortkamp 2018-03-12 09:44:33 +00:00
parent 09cc37699a
commit 62be8c10b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464242
2 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= sane-backends
PORTVERSION= 1.0.27
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4146/ \
http://fossies.org/linux/misc/
@ -14,7 +15,7 @@ LICENSE= GPLv2+
LIB_DEPENDS= libtiff.so:graphics/tiff
USES= gmake libtool localbase pathfix pkgconfig
USES= gmake jpeg libtool localbase pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} \
--disable-latex \

View File

@ -0,0 +1,13 @@
--- tools/sane-desc.c.orig 2015-09-01 00:31:54 UTC
+++ tools/sane-desc.c
@@ -2816,8 +2816,8 @@ html_print_footer (void)
"<address>\n"
"<a href=\"http://www.sane-project.org/imprint.html\"\n"
">Contact</a>\n" "</address>\n" "<font size=-1>\n");
- printf ("This page was last updated on %s by sane-desc %s from %s\n",
- asctime (localtime (&current_time)), SANE_DESC_VERSION, PACKAGE_STRING);
+ printf ("This page was last updated by sane-desc %s from %s\n",
+ SANE_DESC_VERSION, PACKAGE_STRING);
printf ("</font>\n");
printf ("</body> </html>\n");
}