blob: 4483c5f23eb4e79b89b40b506f5dc882f5901f45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: options.mk,v 1.3 2014/08/01 19:18:39 schmonz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.git
PKG_SUPPORTED_OPTIONS= python apple-common-crypto
# python is not suggested because upstream's INSTALL does not list python
# as a dependency and because all it does is install a python module,
# which does not seem worth the dependency for everyone else.
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
PLIST_VARS+= python
.if !empty(PKG_OPTIONS:Mpython)
PY_PATCHPLIST= yes
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
PLIST.python= yes
# not executable
CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/git_remote_helpers/*.py
CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/git_remote_helpers/git/*.py
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.else
CONFIGURE_ARGS+= --without-python
.endif
.if !empty(PKG_OPTIONS:Mapple-common-crypto)
. if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
PKG_FAIL_REASON= "apple-common-crypto not available on this system"
. endif
CONFIGURE_ARGS+= --without-openssl
.else
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
.include "../../security/openssl/buildlink3.mk"
MAKE_FLAGS+= NO_APPLE_COMMON_CRYPTO=1
.endif
|