1 # $NetBSD: options.mk,v 1.9 2012/02/29 18:49:40 morr Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.rxvt-unicode
4 PKG_SUPPORTED_OPTIONS
= perl unicode3 xft2 rxvt-term
5 PKG_SUGGESTED_OPTIONS
= perl unicode3 xft2
7 .
include "../../mk/bsd.options.mk"
9 .if
!empty
(PKG_OPTIONS
:Mrxvt-term
)
10 CONFIGURE_ARGS
+= --with-term
=rxvt
14 .if
!empty
(PKG_OPTIONS
:Mperl
)
16 CONFIGURE_ARGS
+= --enable-perl
18 .
include "../../lang/perl5/buildlink3.mk"
20 REPLACE_PERL
+= src
/perl
/*
22 CONFIGURE_ARGS
+= --disable-perl
25 # use 21 instead of 16 bits to represent unicode characters
26 .if
!empty
(PKG_OPTIONS
:Municode3
)
27 CONFIGURE_ARGS
+= --enable-unicode3
29 CONFIGURE_ARGS
+= --disable-unicode3
32 .if
!empty
(PKG_OPTIONS
:Mxft2
)
33 CONFIGURE_ARGS
+= --enable-xft
34 .
include "../../x11/libXft/buildlink3.mk"
36 CONFIGURE_ARGS
+= --disable-xft