diff options
Diffstat (limited to 'package/ipsec-tools')
-rw-r--r-- | package/ipsec-tools/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile index 7a3649ae5..322d8328a 100644 --- a/package/ipsec-tools/Makefile +++ b/package/ipsec-tools/Makefile @@ -16,6 +16,9 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipsec-tools/} DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 +PKG_FLAVOURS:= WITH_IPV6 +PKGFD_WITH_IPV6:= enable IPv6 support + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,IPSEC_TOOLS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -27,6 +30,12 @@ CONFIGURE_ARGS+= --with-kernel-headers="${LINUX_DIR}/include" \ --without-libradius \ --without-libpam +ifneq (${ADK_PACKAGE_IPSEC_TOOLS_WITH_IPV6},) +CONFIGURE_ARGS+= --enable-ipv6 +else +CONFIGURE_ARGS+= --disable-ipv6 +endif + post-install: ${INSTALL_DIR} ${IDIR_IPSEC_TOOLS}/usr/sbin ${IDIR_IPSEC_TOOLS}/usr/lib ${INSTALL_DIR} ${IDIR_IPSEC_TOOLS}/etc |