diff options
-rw-r--r-- | pkgtools/pkg_install/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/lib/version.h | 4 | ||||
-rw-r--r-- | pkgtools/pkg_install/options.mk | 13 |
3 files changed, 18 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 771fd6dbe5d..72f975f0edc 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.170 2010/01/22 13:30:41 joerg Exp $ +# $NetBSD: Makefile,v 1.171 2010/01/26 15:48:13 joerg Exp $ # Notes to package maintainers: # @@ -92,6 +92,8 @@ BUILDLINK_API_DEPENDS.libarchive+= libarchive>=2.5.4b .include "../../devel/zlib/builtin.mk" .include "../../security/openssl/builtin.mk" +.include "options.mk" + .if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) CONFIGURE_ARGS+= --with-ssl diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h index e7d4b492a4d..65019255c3c 100644 --- a/pkgtools/pkg_install/files/lib/version.h +++ b/pkgtools/pkg_install/files/lib/version.h @@ -1,4 +1,4 @@ -/* $NetBSD: version.h,v 1.146 2010/01/22 13:30:42 joerg Exp $ */ +/* $NetBSD: version.h,v 1.147 2010/01/26 15:48:13 joerg Exp $ */ /* * Copyright (c) 2001 Thomas Klausner. All rights reserved. @@ -27,6 +27,6 @@ #ifndef _INST_LIB_VERSION_H_ #define _INST_LIB_VERSION_H_ -#define PKGTOOLS_VERSION "20100122" +#define PKGTOOLS_VERSION "20100126" #endif /* _INST_LIB_VERSION_H_ */ diff --git a/pkgtools/pkg_install/options.mk b/pkgtools/pkg_install/options.mk new file mode 100644 index 00000000000..20f8374b632 --- /dev/null +++ b/pkgtools/pkg_install/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1 2010/01/26 15:48:13 joerg Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch +PKG_SUPPORTED_OPTIONS= inet6 +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +MAKE_ENV+= FETCH_WITH_INET6=yes +.else +MAKE_ENV+= FETCH_WITH_INET6=no +.endif |