pkgsrc-wip/edelib/options.mk

22 lines
447 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