pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/uae Work arround broken detection of getmnti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5add40ce8ff8
branches:  trunk
changeset: 476015:5add40ce8ff8
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Jun 01 18:25:57 2004 +0000

description:
Work arround broken detection of getmntinfo(3) to make this build on
NetBSD 2.0D and above.

diffstat:

 emulators/uae/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9b9d2f2b9d13 -r 5add40ce8ff8 emulators/uae/Makefile
--- a/emulators/uae/Makefile    Tue Jun 01 17:51:28 2004 +0000
+++ b/emulators/uae/Makefile    Tue Jun 01 18:25:57 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2004/04/19 00:19:21 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2004/06/01 18:25:57 tron Exp $
 
 DISTNAME=      uae-0.8.22
 PKGNAME=       ${DISTNAME}
@@ -26,6 +26,10 @@
        ${CP} ${CAT} ${WRKSRC}/src/tools/cpuopti
 .endif
 
+.if ${OPSYS} == NetBSD && exists(/usr/include/sys/statvfs.h)
+CONFIGURE_ENV+=        cv_func_getmntinfo=yes fu_cv_sys_mounted_getmntinfo=yes
+.endif
+
 do-install:
        cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uae



Home | Main Index | Thread Index | Old Index