pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add a temporary workaround for missing vfork on IRIX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/245b1a5c6aa0
branches:  trunk
changeset: 544141:245b1a5c6aa0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jul 13 14:25:04 2008 +0000

description:
Add a temporary workaround for missing vfork on IRIX.
Fixes PR 38674, tested by tnn@.

diffstat:

 archivers/bsdtar/Makefile     |  4 +++-
 archivers/libarchive/Makefile |  4 +++-
 archivers/libarchive/hacks.mk |  8 ++++++++
 pkgtools/pkg_install/Makefile |  4 +++-
 4 files changed, 17 insertions(+), 3 deletions(-)

diffs (62 lines):

diff -r fc484eecce2f -r 245b1a5c6aa0 archivers/bsdtar/Makefile
--- a/archivers/bsdtar/Makefile Sun Jul 13 14:22:19 2008 +0000
+++ b/archivers/bsdtar/Makefile Sun Jul 13 14:25:04 2008 +0000
@@ -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 @@
        ${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 -r fc484eecce2f -r 245b1a5c6aa0 archivers/libarchive/Makefile
--- a/archivers/libarchive/Makefile     Sun Jul 13 14:22:19 2008 +0000
+++ b/archivers/libarchive/Makefile     Sun Jul 13 14:25:04 2008 +0000
@@ -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 @@
 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 -r fc484eecce2f -r 245b1a5c6aa0 archivers/libarchive/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/hacks.mk     Sun Jul 13 14:25:04 2008 +0000
@@ -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 -r fc484eecce2f -r 245b1a5c6aa0 pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Sun Jul 13 14:22:19 2008 +0000
+++ b/pkgtools/pkg_install/Makefile     Sun Jul 13 14:25:04 2008 +0000
@@ -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 @@
        ${MAKE} ${UPDATE_TARGET}
        ${MAKE} clean
 
+.include "../../archivers/libarchive/hacks.mk"
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index