2012-11-12 23:26:26 +00:00
|
|
|
# $NetBSD: options.mk,v 1.4 2012/11/12 23:26:27 christtrekker Exp $
|
2010-06-01 19:24:22 +00:00
|
|
|
|
|
|
|
.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)
|
2018-01-27 20:39:58 +00:00
|
|
|
PLIST.shlibs= yes
|
2010-06-01 19:24:22 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
|
|
.else
|
2018-01-27 20:39:58 +00:00
|
|
|
PLIST.statlibs= yes
|
2010-06-01 19:24:22 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-shared
|
|
|
|
.endif
|