summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-01-16 17:57:53 +0000
committerjmmv <jmmv@pkgsrc.org>2006-01-16 17:57:53 +0000
commitec5627c9bf254b9f9ab32f0681ce857797f85e05 (patch)
tree6abb7de92c1cb9c95e7e16e2e0f84f05062280ad /sysutils
parentd1b5097d0a39a20cc811381d87855fa1b9e0ca9c (diff)
downloadpkgsrc-ec5627c9bf254b9f9ab32f0681ce857797f85e05.tar.gz
Only do the statvfs hack in NetBSD, as it breaks the build in DragonFly
and Linux.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-vfs2/Makefile.common6
1 files changed, 4 insertions, 2 deletions
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