summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-06-01 18:25:57 +0000
committertron <tron@pkgsrc.org>2004-06-01 18:25:57 +0000
commit89d631bc42d3a3a1978701527d415f6ea000e47d (patch)
tree1e31d51ce9fdaf2e23e9668a77932e108542a94f /emulators
parent133d040faf7a8410f0a3751137b87250bbd33ceb (diff)
downloadpkgsrc-89d631bc42d3a3a1978701527d415f6ea000e47d.tar.gz
Work arround broken detection of getmntinfo(3) to make this build on
NetBSD 2.0D and above.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/uae/Makefile6
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