pkgsrc/net/irrd/options.mk

15 lines
368 B
Makefile

PKG_OPTIONS_VAR= PKG_OPTIONS.irrd
PKG_SUPPORTED_OPTIONS= pthreads
PKG_SUGGESTED_OPTIONS= pthreads
.include "../../mk/bsd.options.mk"
# include support for pthreads
.if !empty(PKG_OPTIONS:Mpthreads)
CONFIGURE_ARGS+= --enable-thread
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-thread
.endif