diff options
author | grant <grant@pkgsrc.org> | 2005-08-19 10:24:25 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-08-19 10:24:25 +0000 |
commit | 4c18cd82e3e107a8bec02bf17b81ed7fc0dd443e (patch) | |
tree | a268defe0ff9120c7d490c683e2cb6bccd3e3f02 /chat/gaim/options.mk | |
parent | a3a9013fb7235ae8c9ad94539eed28357d322af0 (diff) | |
download | pkgsrc-4c18cd82e3e107a8bec02bf17b81ed7fc0dd443e.tar.gz |
add option to build with gnutls support. no change to the default
(nss) so no PKGREVISION bump.
ok'd by the MAINTAINER, Matthew Luckie.
Diffstat (limited to 'chat/gaim/options.mk')
-rw-r--r-- | chat/gaim/options.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chat/gaim/options.mk b/chat/gaim/options.mk new file mode 100644 index 00000000000..22eca2afcf5 --- /dev/null +++ b/chat/gaim/options.mk @@ -0,0 +1,22 @@ +# $NetBSD: options.mk,v 1.1 2005/08/19 10:24:25 grant Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gaim +PKG_SUPPORTED_OPTIONS+= gnutls + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mgnutls) +CONFIGURE_ARGS+= --disable-nss +CONFIGURE_ARGS+= --with-gnutls-includes=${BUILDLINK_PREFIX.gnutls}/include +CONFIGURE_ARGS+= --with-gnutls-libs=${BUILDLINK_PREFIX.gnutls}/lib + +. include "../../security/gnutls/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-gnutls +CONFIGURE_ARGS+= --with-nspr-includes=${BUILDLINK_PREFIX.nspr}/include/nspr +CONFIGURE_ARGS+= --with-nspr-libs=${BUILDLINK_PREFIX.nspr}/lib/nspr +CONFIGURE_ARGS+= --with-nss-includes=${BUILDLINK_PREFIX.nss}/include/nss/nss +CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib/nss + +. include "../../devel/nss/buildlink3.mk" +.endif |