summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2019-07-07 08:54:30 +0000
committerbsiegert <bsiegert@pkgsrc.org>2019-07-07 08:54:30 +0000
commit6547f7411bccc5cc7fd45d5b7e9fd39d303b0bbf (patch)
tree8fe7392af48d3aafc804c38c28471696eb3fbad9 /archivers
parentb15317c3ff8c57f3f2c12fdf73e7097e3b609bfa (diff)
downloadpkgsrc-6547f7411bccc5cc7fd45d5b7e9fd39d303b0bbf.tar.gz
gcpio: Fix Darwin and Interix builds.
- disable rmt on Darwin - correctly put in variables to PLIST Patch from Clement Bouvier in PR pkg/54354.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gcpio/Makefile4
-rw-r--r--archivers/gcpio/PLIST6
2 files changed, 5 insertions, 5 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile
index 23a52f62c99..9b1acbbe52a 100644
--- a/archivers/gcpio/Makefile
+++ b/archivers/gcpio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2016/09/18 11:20:14 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2019/07/07 08:54:30 bsiegert Exp $
DISTNAME= cpio-2.12
PKGNAME= g${DISTNAME}
@@ -32,11 +32,11 @@ PLIST_VARS+= rmt
.include "../../mk/bsd.prefs.mk"
# don't include rmt if gtar won't build it
+# macOS does not support rmt driver, so it won't be built
.if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin"
PLIST.rmt= yes
.endif
-.include "../../mk/bsd.prefs.mk"
post-install:
${LN} -sf ${PREFIX}/bin/gcpio ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/cpio
diff --git a/archivers/gcpio/PLIST b/archivers/gcpio/PLIST
index 2fd56a814b0..0aa0d377c77 100644
--- a/archivers/gcpio/PLIST
+++ b/archivers/gcpio/PLIST
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.16 2016/09/18 11:20:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2019/07/07 08:54:30 bsiegert Exp $
bin/gcpio
gnu/bin/cpio
gnu/man/man1/cpio.1
gnu/man/man1/mt.1
info/cpio.info
-libexec/grmt
+${PLIST.rmt}libexec/grmt
man/man1/gcpio.1
-man/man8/grmt.8
+${PLIST.rmt}man/man8/grmt.8
share/locale/da/LC_MESSAGES/cpio.mo
share/locale/de/LC_MESSAGES/cpio.mo
share/locale/es/LC_MESSAGES/cpio.mo