mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
convert to new options framework
This commit is contained in:
parent
35e372a030
commit
7a108ee456
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299009
@ -26,11 +26,13 @@ GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -Wl,-export-dynamic
|
||||
|
||||
OPTIONS= LANGUAGE_DETECTION "language detection" on
|
||||
OPTIONS_DEFINE= LANGUAGE_DETECTION
|
||||
LANGUAGE_DETECTION_DESC= language detection
|
||||
OPTIONS_DEFAULT= LANGUAGE_DETECTION
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITHOUT_LANGUAGE_DETECTION)
|
||||
.if ${PORT_OPTIONS:MLANGUAGE_DETECTION}
|
||||
CONFIGURE_ARGS+= --disable-language-detection
|
||||
.else
|
||||
LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
|
||||
|
Loading…
Reference in New Issue
Block a user