summaryrefslogtreecommitdiff
path: root/net/ucspi-ssl/options.mk
blob: 9f405dc493b598c974651b1b905e33473d409c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: options.mk,v 1.4 2017/05/20 01:39:12 schmonz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ucspi-ssl
PKG_SUPPORTED_OPTIONS+=	perl

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

.if !empty(PKG_OPTIONS:Mperl)
.include "../../lang/perl5/buildlink3.mk"
USE_TOOLS+=		perl:run
SSL_PROGRAMS+=		sslperl
PLIST_SRC+=		${PKGDIR}/PLIST.perl
DJB_CONFIG_CMDS+=	${ECHO} ${PERL5} > conf-perl;
.else
DJB_BUILD_ARGS+=	- sslperl
.endif