blob: 61d6acc1d3918f4c1514c189c980b00c3e080087 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: options.mk,v 1.4 2008/12/01 13:25:47 wiz Exp $
#
# This file is *not* included for HPUX and OSF1, as they don't have
# a working FAM implementation.
PKG_OPTIONS_VAR = PKG_OPTIONS.glib2
PKG_SUPPORTED_OPTIONS= fam
PKG_SUGGESTED_OPTIONS= fam
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfam)
PLIST.fam= yes
FAM_ACCEPTED= fam
. include "../../mk/fam.buildlink3.mk"
CONFIGURE_ARGS+= --enable-fam
. if ${OPSYS} == "IRIX"
SUBST_CLASSES+= fam-linkage
SUBST_STAGE.fam-linkage= pre-configure
SUBST_MESSAGE.fam-linkage= Fixing fam linkage
SUBST_FILES.fam-linkage= gio/fam/Makefile.in
SUBST_SED.fam-linkage= -e 's,^FAM_LIBS =.*$$,FAM_LIBS = -lfam -lC,g'
BUILDLINK_TRANSFORM+= l:fam:fam:C
. endif
.else
CONFIGURE_ARGS+= --disable-fam
.endif
|