diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-01-16 17:57:53 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-01-16 17:57:53 +0000 |
commit | b57ee6d676e6a9ce9d1abe396786136476ac2d82 (patch) | |
tree | 6abb7de92c1cb9c95e7e16e2e0f84f05062280ad /sysutils | |
parent | 369011f61f4638ed30cf2278a5aba1a6ad661527 (diff) | |
download | pkgsrc-b57ee6d676e6a9ce9d1abe396786136476ac2d82.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.common | 6 |
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 |