pkgsrc/chat/epic4/options.mk
dholland 997172acdc Revert previous and make perl an option instead, since it actually links
to the perl interpreter; and if the option isn't selected, disable perl
explicitly to avoid accidentally finding a builtin version.
2015-11-07 21:36:57 +00:00

15 lines
356 B
Makefile

# $NetBSD: options.mk,v 1.1 2015/11/07 21:36:57 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.epic4
PKG_SUPPORTED_OPTIONS+= perl
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mperl)
USE_TOOLS+= perl:run
CONFIGURE_ARGS+= --with-perl
.include "../../lang/perl5/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-perl
.endif