pkgsrc/devel/glib2/options.mk
rillig ad2adba9a5 Ran pkglint --autofix on the devel/ category. Most of the changes are
simple white-space issues like indentation and trailing spaces. The
others are cross-references for Makefile.common.
2009-06-13 06:46:41 +00:00

30 lines
792 B
Makefile

# $NetBSD: options.mk,v 1.6 2009/06/13 06:46:42 rillig 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 gamin
FAM_SERVER= no
. 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