summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2004-06-01 18:25:57 +0000
committertron <tron>2004-06-01 18:25:57 +0000
commit4730399bb5df7750df806af58c035e235d71304f (patch)
tree1e31d51ce9fdaf2e23e9668a77932e108542a94f
parent9569c99b7e214f164a02b14a5b91044d4b34675e (diff)
downloadpkgsrc-4730399bb5df7750df806af58c035e235d71304f.tar.gz
Work arround broken detection of getmntinfo(3) to make this build on
NetBSD 2.0D and above.
-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