pkgsrc/net/vpnc/options.mk
drochner f8244abf32 update to 0.5.3, brings some minor fixes
approved by both MAINTAINERs,
+minor cosmetics and a time_t printf format fix on NetBSD-current
(tested against a Cisco VPN 3000 Concentrator with psk)
2009-02-04 21:51:27 +00:00

16 lines
542 B
Makefile

# $NetBSD: options.mk,v 1.2 2009/02/04 21:51:27 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openvpnc
PKG_SUPPORTED_OPTIONS= openssl # off by default
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mopenssl)
SUBST_CLASSES+= openssl
SUBST_MESSAGE.openssl= adding openssl option
SUBST_STAGE.openssl= post-patch
SUBST_FILES.openssl= Makefile
SUBST_SED.openssl= -e 's/^.OPENSSL_GPL_VIOLATION/OPENSSL_GPL_VIOLATION/'
SUBST_SED.openssl+= -e 's/^.OPENSSLLIBS/OPENSSLLIBS/'
.endif