pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gtar-base Add a workaround for the lack of s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64bdce393306
branches:  trunk
changeset: 632187:64bdce393306
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Mar 18 18:11:26 2014 +0000

description:
Add a workaround for the lack of strto{i,u}max on MirBSD, fix build.

diffstat:

 archivers/gtar-base/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a5499243af1d -r 64bdce393306 archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Tue Mar 18 15:55:35 2014 +0000
+++ b/archivers/gtar-base/Makefile      Tue Mar 18 18:11:26 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2014/03/12 13:32:14 fhajny Exp $
+# $NetBSD: Makefile,v 1.82 2014/03/18 18:11:26 bsiegert Exp $
 #
 # Please run 'make files/gtar.1' when updating version of this package
 # to regenerate the man page. converters/help2man is needed.
@@ -52,6 +52,10 @@
 CONFIGURE_ENV+=                gt_cv_func_gnugettext3_libintl=yes
 .endif
 
+.if ${OPSYS} == "MirBSD"
+CPPFLAGS+=             -Dstrtoimax=strtoll -Dstrtoumax=strtoull
+.endif
+
 SYMLINKS=              bin/gtar ${PKGGNUDIR}bin/tar \
                        ${PKGMANDIR}/man1/gtar.1 ${PKGGNUDIR}${PKGMANDIR}/man1/tar.1
 



Home | Main Index | Thread Index | Old Index