summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/bsdtar/Makefile4
-rw-r--r--archivers/libarchive/Makefile4
-rw-r--r--archivers/libarchive/hacks.mk8
-rw-r--r--pkgtools/pkg_install/Makefile4
4 files changed, 17 insertions, 3 deletions
diff --git a/archivers/bsdtar/Makefile b/archivers/bsdtar/Makefile
index ab353036895..2616db3feab 100644
--- a/archivers/bsdtar/Makefile
+++ b/archivers/bsdtar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/05/25 19:50:05 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/07/13 14:25:04 joerg Exp $
#
DISTNAME= bsdtar-2.5.4b
@@ -61,4 +61,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bsdtar ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tar/bsdtar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.include "../../archivers/libarchive/hacks.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index a06f8549f18..5b505a371df 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2008/05/25 19:50:05 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2008/07/13 14:25:04 joerg Exp $
#
DISTNAME= libarchive-2.5.4b
@@ -22,6 +22,8 @@ CONFIGURE_ARGS+= --disable-bsdtar
do-extract:
${CP} -r ${FILESDIR} ${WRKSRC}
+.include "../../archivers/libarchive/hacks.mk"
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/libarchive/hacks.mk b/archivers/libarchive/hacks.mk
new file mode 100644
index 00000000000..6eb1d36db41
--- /dev/null
+++ b/archivers/libarchive/hacks.mk
@@ -0,0 +1,8 @@
+# $NetBSD: hacks.mk,v 1.1 2008/07/13 14:25:04 joerg Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(OPSYS:MIRIX*)
+CPPFLAGS+= -Dvfork=fork
+CONFIGURE_ENV+= ac_cv_func_vfork=yes
+.endif
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 6c0a6ade296..85ad391616e 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.156 2008/06/22 22:08:05 joerg Exp $
+# $NetBSD: Makefile,v 1.157 2008/07/13 14:25:05 joerg Exp $
# Notes to package maintainers:
#
@@ -175,4 +175,6 @@ update:
${MAKE} ${UPDATE_TARGET}
${MAKE} clean
+.include "../../archivers/libarchive/hacks.mk"
+
.include "../../mk/bsd.pkg.mk"