Wed Jul 17 08:39:59 2013 UTC ()
Include bsd.prefs.mk before OPSYS test.


(jperkin)
diff -r1.2 -r1.3 pkgsrc/wm/compiz/options.mk

cvs diff -r1.2 -r1.3 pkgsrc/wm/compiz/options.mk (expand / switch to unified diff)

--- pkgsrc/wm/compiz/options.mk 2013/07/16 22:22:04 1.2
+++ pkgsrc/wm/compiz/options.mk 2013/07/17 08:39:59 1.3
@@ -1,19 +1,21 @@ @@ -1,19 +1,21 @@
1# $NetBSD: options.mk,v 1.2 2013/07/16 22:22:04 jperkin Exp $ 1# $NetBSD: options.mk,v 1.3 2013/07/17 08:39:59 jperkin Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.compiz 3PKG_OPTIONS_VAR= PKG_OPTIONS.compiz
4PKG_SUPPORTED_OPTIONS= fuse gnome inotify kde3 kde4 4PKG_SUPPORTED_OPTIONS= fuse gnome inotify kde3 kde4
5PLIST_VARS+= gnome inotify kde kde3 5PLIST_VARS+= gnome inotify kde kde3
6 6
 7.include "../../mk/bsd.prefs.mk"
 8
7.if ${OPSYS} != "SunOS" 9.if ${OPSYS} != "SunOS"
8PKG_SUGGESTED_OPTIONS+= inotify 10PKG_SUGGESTED_OPTIONS+= inotify
9.endif 11.endif
10 12
11.include "../../mk/bsd.options.mk" 13.include "../../mk/bsd.options.mk"
12 14
13# XXX configure needs fuse.pc, which isn't in NetBSD's base for some reason 15# XXX configure needs fuse.pc, which isn't in NetBSD's base for some reason
14.if !empty(PKG_OPTIONS:Mfuse) 16.if !empty(PKG_OPTIONS:Mfuse)
15.include "../../filesystems/fuse/buildlink3.mk" 17.include "../../filesystems/fuse/buildlink3.mk"
16CONFIGURE_ARGS+= --enable-fuse 18CONFIGURE_ARGS+= --enable-fuse
17.else 19.else
18CONFIGURE_ARGS+= --disable-fuse 20CONFIGURE_ARGS+= --disable-fuse
19.endif 21.endif