summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz>2004-07-29 21:47:09 +0000
committerwiz <wiz>2004-07-29 21:47:09 +0000
commit8aaf16d8cd1ec416159144c895311f515375d49f (patch)
tree5576ac0d14f3d6a50478caab88a1ac49ae3357f1 /archivers
parent52d3912c6d4061633da34e6bc5ca1489b8bd84b9 (diff)
downloadpkgsrc-8aaf16d8cd1ec416159144c895311f515375d49f.tar.gz
On NetBSD>=2.0, set TAR_INODE_INTERNAL to make this build again.
Suggested by der Mouse.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/mousetar/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/archivers/mousetar/Makefile b/archivers/mousetar/Makefile
index 7f4ccd67884..a8746d09a71 100644
--- a/archivers/mousetar/Makefile
+++ b/archivers/mousetar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/03/30 21:41:32 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2004/07/29 21:47:09 wiz Exp $
#
DISTNAME= mousetar-20021217
@@ -13,6 +13,12 @@ COMMENT= der Mouse's version of tar program
WRKSRC= ${WRKDIR}
USE_BUILDLINK3= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_PLATFORM:MNetBSD-[2-9].*-*} != ""
+CPPFLAGS+= -DTAR_INODE_INTERNAL
+.endif
+
do-extract:
for f in ${DISTFILES}; do \
${CP} ${DISTDIR}/$$f ${WRKDIR}; \