From adf4360483adad9e773a47dee85110f86d11d8f2 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 29 Jul 2004 21:47:09 +0000 Subject: On NetBSD>=2.0, set TAR_INODE_INTERNAL to make this build again. Suggested by der Mouse. --- archivers/mousetar/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'archivers/mousetar') 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}; \ -- cgit v1.2.3