summaryrefslogtreecommitdiff
path: root/archivers/mousetar
diff options
context:
space:
mode:
authorwiz <wiz>2004-07-29 21:47:09 +0000
committerwiz <wiz>2004-07-29 21:47:09 +0000
commitadf4360483adad9e773a47dee85110f86d11d8f2 (patch)
tree5576ac0d14f3d6a50478caab88a1ac49ae3357f1 /archivers/mousetar
parentfcbef04246d69d5214e080f4c116d55d44b86b35 (diff)
downloadpkgsrc-adf4360483adad9e773a47dee85110f86d11d8f2.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}; \