summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2020-06-05 17:26:43 +0000
committermicha <micha@pkgsrc.org>2020-06-05 17:26:43 +0000
commitdde420d891a973222dd62450ca1bd1cfa461779a (patch)
tree02b6b24055f9c2913caa9fb56c591754e7e5caa3
parentb0ea5351893fd0e75727e9015bb62064c152e5fc (diff)
downloadpkgsrc-dde420d891a973222dd62450ca1bd1cfa461779a.tar.gz
shells/pbosh: Update to 2020-05-25
- Use OS specific helper code from devel/smake/Makefile.common Changes from AN-2020-05-25: - libmdgest: Added a "defined(_M_ARM)" check for MSVC byte order definitions (byte_order.h). Thanks to "Excalibur" for reporting. - Bourne Shell: The support for the OLDPWD environment has been moved from DO_SYSPUSHD to DO_POSIX_CD and as a result, the minimal POSIX compile variant "pbosh" now supports "$OLDPWD" and "cd -". This was based on a bug in the POSIX standard that did not include OLDPWD in the overview of shell environment variables. See https://www.austingroupbugs.net/view.php?id=1343 Thanks to Koichi Nakashima for reporting
-rw-r--r--shells/pbosh/Makefile21
-rw-r--r--shells/pbosh/distinfo10
2 files changed, 17 insertions, 14 deletions
diff --git a/shells/pbosh/Makefile b/shells/pbosh/Makefile
index 2c3061796b4..2503cbca54b 100644
--- a/shells/pbosh/Makefile
+++ b/shells/pbosh/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2020/05/12 09:06:39 micha Exp $
+# $NetBSD: Makefile,v 1.12 2020/06/05 17:26:43 micha Exp $
-DISTNAME= schily-2020-05-11
-PKGNAME= pbosh-20200511
+DISTNAME= schily-2020-05-25
+PKGNAME= pbosh-20200525
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
EXTRACT_SUFX= .tar.bz2
@@ -13,9 +13,8 @@ LICENSE= cddl-1.0
MAKE_JOBS_SAFE= no
-# tbl(1) of NetBSD 9 can't process the man page, but man(1) can.
-# Install man page with unprocessed tables as workaround (may break other OS)
-#USE_TOOLS+= tbl
+.include "../../mk/bsd.prefs.mk"
+
TOOL_DEPENDS+= smake-[0-9]*:../../devel/smake
SMAKE= MAKEFLAGS= smake
MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
@@ -43,9 +42,13 @@ do-build:
# Process tables in manpage
post-build:
- cd ${WRKSRC} && ${MV} sh/sh.1 sh/pbosh.1
-# cd ${WRKSRC} && ${TBL} sh/sh.1 >sh/sh.1.tmp; \
-# ${MV} -f sh/sh.1.tmp sh/pbosh.1
+.if !empty(USE_TOOLS:Mtbl)
+ cd ${WRKSRC} && ${TBL} sh/sh.1 >sh/pbosh.1.tmp; \
+ ${MV} -f sh/pbosh.1.tmp sh/pbosh.1
+.else
+ cd ${WRKSRC} && ${MV} -f sh/sh.1 sh/pbosh.1
+.endif
+
do-install:
cd ${WRKSRC}/sh && \
diff --git a/shells/pbosh/distinfo b/shells/pbosh/distinfo
index 0bc14d1bc84..66706693a87 100644
--- a/shells/pbosh/distinfo
+++ b/shells/pbosh/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2020/05/12 09:06:39 micha Exp $
+$NetBSD: distinfo,v 1.10 2020/06/05 17:26:43 micha Exp $
-SHA1 (schily-2020-05-11.tar.bz2) = 1992e23344880fb58443c5b89b24fded4039f7a7
-RMD160 (schily-2020-05-11.tar.bz2) = bdf3ac0349f00095d7e17f1b14a07f6dcb94a0e2
-SHA512 (schily-2020-05-11.tar.bz2) = a12f0a3caa14c35af150afb4354fbe7c5b1d6ad301d24efbed6f0ec7c38919fe2bf863a117d46107178d11f60b9dd93f72f173c722e2e129d86d348b01fc56ee
-Size (schily-2020-05-11.tar.bz2) = 4783976 bytes
+SHA1 (schily-2020-05-25.tar.bz2) = ba4f353ab3c3ecded4c417e8601f6986717508a9
+RMD160 (schily-2020-05-25.tar.bz2) = 56f9a9812f26ff80699bb1e5ed299e24a724ff18
+SHA512 (schily-2020-05-25.tar.bz2) = 73079c7c9c724911af10e641dfd82fb900c434c59a1d30fa34ac69f7f3e31dfe050cf718621574ce54cf5eb7189f32a5894fe070115c7eabc13c65e00b010b3b
+Size (schily-2020-05-25.tar.bz2) = 4794851 bytes