~cypheon/pkgsrc-wip

pkgsrc-wip/dnrd/options.mk -rw-r--r-- 474 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: options.mk,v 1.1.1.1 2006/06/03 23:45:48 gschwarz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.dnrd
PKG_SUPPORTED_OPTIONS=	random-source-port pid-file tcp-support
PKG_SUGGESTED_OPTIONS=	pid-file

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mrandom-source-port)
CONFIGURE_ARGS+=	--enable-random-src
.endif

.if empty(PKG_OPTIONS:Mpid-file)
CONFIGURE_ARGS+=	--disable-pid-file
.endif

.if !empty(PKG_OPTIONS:Mtcp-support)
CONFIGURE_ARGS+=	--enable-tcp
.endif