pkgsrc-wip/edelib/options.mk
Tim Larson 7518f3bbf7 Added buildlink3 file for easier dependencies.
Made fam non-optional instead of a standard option.
2012-11-12 23:26:26 +00:00

21 lines
443 B
Makefile

# $NetBSD: options.mk,v 1.4 2012/11/12 23:26:27 christtrekker Exp $
.if !empty(PKG_OPTIONS:Mlargefile)
CONFIGURE_ARGS+= --enable-largefile
.else
CONFIGURE_ARGS+= --disable-largefile
.endif
.if !empty(PKG_OPTIONS:Mnls)
CONFIGURE_ARGS+= --enable-nls
.else
CONFIGURE_ARGS+= --disable-nls
.endif
.if !empty(PKG_OPTIONS:Mshared)
PLIST.shlibs=yes
CONFIGURE_ARGS+= --enable-shared
.else
PLIST.statlibs=yes
CONFIGURE_ARGS+= --disable-shared
.endif