From ec5627c9bf254b9f9ab32f0681ce857797f85e05 Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 16 Jan 2006 17:57:53 +0000 Subject: Only do the statvfs hack in NetBSD, as it breaks the build in DragonFly and Linux. --- sysutils/gnome-vfs2/Makefile.common | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysutils') diff --git a/sysutils/gnome-vfs2/Makefile.common b/sysutils/gnome-vfs2/Makefile.common index 9f159b40997..efe12c0a94d 100644 --- a/sysutils/gnome-vfs2/Makefile.common +++ b/sysutils/gnome-vfs2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.27 2006/01/01 17:31:53 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.28 2006/01/16 17:57:53 jmmv Exp $ # DISTNAME= gnome-vfs-2.12.1.1 @@ -44,11 +44,13 @@ EGDIR= ${PREFIX}/share/examples/gnome-vfs-2.0 CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor +.include "../../mk/bsd.prefs.mk" + # XXX Work-around for a problem in the configure script which checks for # statvfs(2) having SVR4 in mind. Solving this in the script itself could # be the right way to go, but it is out of the scope of a local patch; it # could require changing the code a lot, which is already very... complex. -.if !exists(/usr/include/fstyp.h) +.if ${OPSYS} == "NetBSD" && !exists(/usr/include/fstyp.h) post-wrapper: ${MKDIR} -p ${BUILDLINK_DIR}/include/sys ${TOUCH} ${BUILDLINK_DIR}/include/sys/fstyp.h -- cgit v1.2.3