pkgsrc/databases/db4/options.mk
dillo f81ae835ad 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.
2005-05-31 10:01:36 +00:00

14 lines
339 B
Makefile

# $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"
.if !empty(PKG_OPTIONS:Mjava)
CONFIGURE_ARGS+= --enable-java
. include "../../mk/java-vm.mk"
.else
CONFIGURE_ARGS+= --disable-java
.endif