diff options
author | hans <hans@pkgsrc.org> | 2012-02-29 18:14:31 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-29 18:14:31 +0000 |
commit | 9c8d107dd5b04edf0b2bc7da1c8f53ab76fddba6 (patch) | |
tree | 35e8f64eb869646e9c3c9babcf94136cc76d1867 /archivers/mousetar/Makefile | |
parent | b0ea3a410e4fc25b89ef38dcd767c27083159860 (diff) | |
download | pkgsrc-9c8d107dd5b04edf0b2bc7da1c8f53ab76fddba6.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'archivers/mousetar/Makefile')
-rw-r--r-- | archivers/mousetar/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/mousetar/Makefile b/archivers/mousetar/Makefile index 0f8d9aa6d66..38a5ec9662e 100644 --- a/archivers/mousetar/Makefile +++ b/archivers/mousetar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/03/02 03:48:36 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2012/02/29 18:14:31 hans Exp $ # DISTNAME= mousetar-20021217 @@ -19,6 +19,9 @@ WRKSRC= ${WRKDIR} .include "../../mk/bsd.prefs.mk" +CPPFLAGS.SunOS+= -DTAR_INODE_NONE -DDIRENT_FIXUP -DLINUX_NAMLEN +CPPFLAGS.SunOS+= -DL_SET=SEEK_SET -DL_INCR=SEEK_CUR -DL_XTND=SEEK_END + .if ${MACHINE_PLATFORM:MNetBSD-[2-9].*-*} != "" CPPFLAGS+= -DTAR_INODE_INTERNAL .endif |