diff options
author | dillo <dillo@pkgsrc.org> | 2005-05-31 10:01:36 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-05-31 10:01:36 +0000 |
commit | f81ae835adc78533f22ce227d12d3f56e6076f1a (patch) | |
tree | 54f5cc64fe8b06d4695748b3d5b9967e8c030117 /net/flow-tools | |
parent | 79084c0d28dd7c904bebb1b7d09f66fa505cfc47 (diff) | |
download | pkgsrc-f81ae835adc78533f22ce227d12d3f56e6076f1a.tar.gz |
Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also,
make use of PKG_OPTIONS_LEGACY_VARS.
Reviewed by wiz.
Diffstat (limited to 'net/flow-tools')
-rw-r--r-- | net/flow-tools/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/net/flow-tools/Makefile b/net/flow-tools/Makefile index c42888ba06e..0e5b6ed64b4 100644 --- a/net/flow-tools/Makefile +++ b/net/flow-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2005/04/11 21:46:46 tv Exp $ +# $NetBSD: Makefile,v 1.14 2005/05/31 10:01:38 dillo Exp $ DISTNAME= flow-tools-0.67 PKGREVISION= 2 @@ -27,17 +27,11 @@ SUPPORT_FILES+= ${EGDIR}/sym/${_f_} ${PKG_SYSCONFDIR}/sym/${_f_} .endfor MESSAGE_SUBST+= EGDIR=${EGDIR} -.if defined(FLOW_TOOLS_USE_MYSQL) && \ - !empty(FLOW_TOOLS_USE_MYSQL:M[yY][eE][sS]) -PKG_DEFAULT_OPTIONS+= mysql -.endif -.if defined(FLOW_TOOLS_USE_POSTGRESQL) && \ - !empty(FLOW_TOOLS_USE_POSTGRESQL:M[yY][eE][sS]) -PKG_DEFAULT_OPTIONS+= postgresql -.endif - PKG_OPTIONS_VAR= PKG_OPTIONS.flow-tools PKG_SUPPORTED_OPTIONS= mysql postgresql +PKG_OPTIONS_LEGACY_VARS+= FLOW_TOOLS_USE_MYSQL:mysql +PKG_OPTIONS_LEGACY_VARS+= FLOW_TOOLS_USE_POSTGRESQL:postgresql + .include "../../mk/bsd.options.mk" # MySQL support. |