pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-vfs2 Only do the statvfs hack in NetBSD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bff7c423005d
branches:  trunk
changeset: 506470:bff7c423005d
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jan 16 17:57:53 2006 +0000

description:
Only do the statvfs hack in NetBSD, as it breaks the build in DragonFly
and Linux.

diffstat:

 sysutils/gnome-vfs2/Makefile.common |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r ea13ded2d8d6 -r bff7c423005d sysutils/gnome-vfs2/Makefile.common
--- a/sysutils/gnome-vfs2/Makefile.common       Mon Jan 16 16:52:31 2006 +0000
+++ b/sysutils/gnome-vfs2/Makefile.common       Mon Jan 16 17:57:53 2006 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index