summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg>2008-07-13 14:25:04 +0000
committerjoerg <joerg>2008-07-13 14:25:04 +0000
commit368b9f0d57972a2feda931c915577cf02124fffe (patch)
tree6ccf48a3f97fefa23cc9d493ab4049bf8a6192c0 /archivers
parentc354051404c79e3d70a486316dd85d78991b2c33 (diff)
downloadpkgsrc-368b9f0d57972a2feda931c915577cf02124fffe.tar.gz
Add a temporary workaround for missing vfork on IRIX.
Fixes PR 38674, tested by tnn@.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/bsdtar/Makefile4
-rw-r--r--archivers/libarchive/Makefile4
-rw-r--r--archivers/libarchive/hacks.mk8
3 files changed, 14 insertions, 2 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