CPE_PRODUCT= gettext
CPE_VENDOR= gun
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS THREADS
OPTIONS_DEFAULT=THREADS
.include <bsd.port.options.mk>
INFO+= gettext
.endif
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} < 900506)
.if ! ${PORT_OPTIONS:MTHREADS} || ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} < 900506)
CONFIGURE_ARGS+=--disable-threads