diff options
author | tron <tron@pkgsrc.org> | 2004-06-01 18:25:57 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-06-01 18:25:57 +0000 |
commit | 2f2969cfbd58a21375a0abc29279db34d73124e5 (patch) | |
tree | 1e31d51ce9fdaf2e23e9668a77932e108542a94f /emulators/uae | |
parent | 87c4886a993c68092e0f1585d8d3a96269adab20 (diff) | |
download | pkgsrc-2f2969cfbd58a21375a0abc29279db34d73124e5.tar.gz |
Work arround broken detection of getmntinfo(3) to make this build on
NetBSD 2.0D and above.
Diffstat (limited to 'emulators/uae')
-rw-r--r-- | emulators/uae/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index 9dcf63c2f9d..bca418d0439 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -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 @@ post-configure: ${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 |