summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-04-07 23:32:40 +0000
committerdholland <dholland@pkgsrc.org>2012-04-07 23:32:40 +0000
commit5c273d1a6d6cd86888411427c24edc713fed3ad7 (patch)
treefa1e01674edcf98a7f793a116c5423ca2c43ca82
parent390eba3c65c7e09cc95ff9b8c5c2902e0b7b0204 (diff)
downloadpkgsrc-5c273d1a6d6cd86888411427c24edc713fed3ad7.tar.gz
Always set -DDIRENT_FIXUP, which means opendir() returns POSIX struct
dirent rather than the FFS struct direct. As this has been POSIX for at least twenty years I very, very much doubt there are any exceptions left in the wild. Fixes build on NetBSD-current.
-rw-r--r--archivers/mousetar/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/mousetar/Makefile b/archivers/mousetar/Makefile
index 38a5ec9662e..02b144f166b 100644
--- a/archivers/mousetar/Makefile
+++ b/archivers/mousetar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/02/29 18:14:31 hans Exp $
+# $NetBSD: Makefile,v 1.19 2012/04/07 23:32:40 dholland Exp $
#
DISTNAME= mousetar-20021217
@@ -19,7 +19,8 @@ WRKSRC= ${WRKDIR}
.include "../../mk/bsd.prefs.mk"
-CPPFLAGS.SunOS+= -DTAR_INODE_NONE -DDIRENT_FIXUP -DLINUX_NAMLEN
+CPPFLAGS+= -DDIRENT_FIXUP
+CPPFLAGS.SunOS+= -DTAR_INODE_NONE -DLINUX_NAMLEN
CPPFLAGS.SunOS+= -DL_SET=SEEK_SET -DL_INCR=SEEK_CUR -DL_XTND=SEEK_END
.if ${MACHINE_PLATFORM:MNetBSD-[2-9].*-*} != ""