summaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-05-31 10:01:36 +0000
committerdillo <dillo@pkgsrc.org>2005-05-31 10:01:36 +0000
commit9c435d97cc677d79b74e5e372fd22ec4b57a0a65 (patch)
tree54f5cc64fe8b06d4695748b3d5b9967e8c030117 /databases/db4
parent6dd27214ac3a362082f3cc1b2ef37b2add1db468 (diff)
downloadpkgsrc-9c435d97cc677d79b74e5e372fd22ec4b57a0a65.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 'databases/db4')
-rw-r--r--databases/db4/options.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/databases/db4/options.mk b/databases/db4/options.mk
index 33d5d01682b..9c6b5656831 100644
--- a/databases/db4/options.mk
+++ b/databases/db4/options.mk
@@ -1,11 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2004/12/27 04:27:49 jlam Exp $
-
-.if defined(WITH_JAVA) && !empty(WITH_JAVA:M[Yy][Ee][Ss])
-PKG_DEFAULT_OPTIONS+= java
-.endif
+# $NetBSD: options.mk,v 1.2 2005/05/31 10:01:36 dillo Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.db4
PKG_SUPPORTED_OPTIONS= java
+PKG_OPTIONS_LEGACY_VARS+= WITH_JAVA:java
.include "../../mk/bsd.options.mk"