Wed Feb 15 13:02:31 2012 UTC ()
buildlink with security/openssl if openssl option is enabled.
PR#45825 by Matthias Kretschmer.


(obache)
diff -r1.2 -r1.3 pkgsrc/net/vpnc/options.mk

cvs diff -r1.2 -r1.3 pkgsrc/net/vpnc/options.mk (expand / switch to unified diff)

--- pkgsrc/net/vpnc/options.mk 2009/02/04 21:51:27 1.2
+++ pkgsrc/net/vpnc/options.mk 2012/02/15 13:02:31 1.3
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.openvpnc 3PKG_OPTIONS_VAR= PKG_OPTIONS.openvpnc
4PKG_SUPPORTED_OPTIONS= openssl # off by default 4PKG_SUPPORTED_OPTIONS= openssl # off by default
5PKG_SUGGESTED_OPTIONS= 5PKG_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"
10SUBST_CLASSES+= openssl 11SUBST_CLASSES+= openssl
11SUBST_MESSAGE.openssl= adding openssl option 12SUBST_MESSAGE.openssl= adding openssl option
12SUBST_STAGE.openssl= post-patch 13SUBST_STAGE.openssl= post-patch
13SUBST_FILES.openssl= Makefile 14SUBST_FILES.openssl= Makefile
14SUBST_SED.openssl= -e 's/^.OPENSSL_GPL_VIOLATION/OPENSSL_GPL_VIOLATION/' 15SUBST_SED.openssl= -e 's/^.OPENSSL_GPL_VIOLATION/OPENSSL_GPL_VIOLATION/'
15SUBST_SED.openssl+= -e 's/^.OPENSSLLIBS/OPENSSLLIBS/' 16SUBST_SED.openssl+= -e 's/^.OPENSSLLIBS/OPENSSLLIBS/'
16.endif 17.endif