| @@ -1,16 +1,17 @@ | | | @@ -1,16 +1,17 @@ |
1 | # $NetBSD: options.mk,v 1.2 2009/02/04 21:51:27 drochner Exp $ | | 1 | # $NetBSD: options.mk,v 1.3 2012/02/15 13:02:31 obache Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.openvpnc | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.openvpnc |
4 | PKG_SUPPORTED_OPTIONS= openssl # off by default | | 4 | PKG_SUPPORTED_OPTIONS= openssl # off by default |
5 | PKG_SUGGESTED_OPTIONS= | | 5 | PKG_SUGGESTED_OPTIONS= |
6 | | | 6 | |
7 | .include "../../mk/bsd.prefs.mk" | | 7 | .include "../../mk/bsd.prefs.mk" |
8 | .include "../../mk/bsd.options.mk" | | 8 | .include "../../mk/bsd.options.mk" |
9 | .if !empty(PKG_OPTIONS:Mopenssl) | | 9 | .if !empty(PKG_OPTIONS:Mopenssl) |
| | | 10 | .include "../../security/openssl/buildlink3.mk" |
10 | SUBST_CLASSES+= openssl | | 11 | SUBST_CLASSES+= openssl |
11 | SUBST_MESSAGE.openssl= adding openssl option | | 12 | SUBST_MESSAGE.openssl= adding openssl option |
12 | SUBST_STAGE.openssl= post-patch | | 13 | SUBST_STAGE.openssl= post-patch |
13 | SUBST_FILES.openssl= Makefile | | 14 | SUBST_FILES.openssl= Makefile |
14 | SUBST_SED.openssl= -e 's/^.OPENSSL_GPL_VIOLATION/OPENSSL_GPL_VIOLATION/' | | 15 | SUBST_SED.openssl= -e 's/^.OPENSSL_GPL_VIOLATION/OPENSSL_GPL_VIOLATION/' |
15 | SUBST_SED.openssl+= -e 's/^.OPENSSLLIBS/OPENSSLLIBS/' | | 16 | SUBST_SED.openssl+= -e 's/^.OPENSSLLIBS/OPENSSLLIBS/' |
16 | .endif | | 17 | .endif |