pkgsrc/devel/gdb7/options.mk
micha 495b926c89 devel/gdb7: Fix package with disabled python option
The common PLIST must be reduced in this case.

No bump of PKGREVISION because the package with enabled python option
is unchanged.

While here, fix some pkglint warnings.
2020-08-28 11:02:23 +00:00

15 lines
387 B
Makefile

# $NetBSD: options.mk,v 1.5 2020/08/28 11:02:23 micha Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gdb
PKG_SUPPORTED_OPTIONS= python
PKG_SUGGESTED_OPTIONS= python
PLIST_VARS+= python
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpython)
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
PYTHON_VERSIONS_ACCEPTED= 27
.include "../../lang/python/application.mk"
PLIST.python= yes
.endif