summaryrefslogtreecommitdiff
path: root/archivers/mousetar
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-29 21:47:09 +0000
committerwiz <wiz@pkgsrc.org>2004-07-29 21:47:09 +0000
commit2ebc04dd8bfed0afb1418b5aedd02e40a2df07d6 (patch)
tree5576ac0d14f3d6a50478caab88a1ac49ae3357f1 /archivers/mousetar
parent84bda75fcf641b20193298ccbe58460be8338434 (diff)
downloadpkgsrc-2ebc04dd8bfed0afb1418b5aedd02e40a2df07d6.tar.gz
On NetBSD>=2.0, set TAR_INODE_INTERNAL to make this build again.
Suggested by der Mouse.
Diffstat (limited to 'archivers/mousetar')
-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}; \