diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2014-03-18 18:11:26 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2014-03-18 18:11:26 +0000 |
commit | 5d481bfa4fcfafe10f43fbe3cec0a33c5ce103da (patch) | |
tree | bb7cceda01f889fb400f9fcfed3ae0beb0e8586b /archivers | |
parent | 91dac5fae47c5010cf7cbb4f4728b49555ada204 (diff) | |
download | pkgsrc-5d481bfa4fcfafe10f43fbe3cec0a33c5ce103da.tar.gz |
Add a workaround for the lack of strto{i,u}max on MirBSD, fix build.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gtar-base/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index c6e560f4e02..fbc3b741874 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -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 @@ PLIST.rmt= yes 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 |