diff options
author | adam <adam@pkgsrc.org> | 2009-09-29 09:34:09 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2009-09-29 09:34:09 +0000 |
commit | 395ee1ec3362c1f2dbd32688532d8c211a9193e3 (patch) | |
tree | 6ac9e8f6cbadc480cdbc457e31b2aa65c9137eef | |
parent | 5b390f53ad9d3ebdf46a68cb17422ac281c95bb2 (diff) | |
download | pkgsrc-395ee1ec3362c1f2dbd32688532d8c211a9193e3.tar.gz |
Added "perl" as an option to fix PR#42064
-rw-r--r-- | net/freeradius2/PLIST | 4 | ||||
-rw-r--r-- | net/freeradius2/options.mk | 16 |
2 files changed, 17 insertions, 3 deletions
diff --git a/net/freeradius2/PLIST b/net/freeradius2/PLIST index e9c6a4073ef..74a25a8ff7e 100644 --- a/net/freeradius2/PLIST +++ b/net/freeradius2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:09:27 joerg Exp $ +@comment $NetBSD: PLIST,v 1.7 2009/09/29 09:34:09 adam Exp $ bin/radclient bin/radconf2xml bin/radeapclient @@ -121,6 +121,8 @@ lib/rlm_pap-${RADVER}.la lib/rlm_pap.la lib/rlm_passwd-${RADVER}.la lib/rlm_passwd.la +${PLIST.perl}lib/rlm_perl-${RADVER}.la +${PLIST.perl}lib/rlm_perl.la ${PLIST.pgsql}lib/rlm_sql_postgresql-${RADVER}.la ${PLIST.pgsql}lib/rlm_sql_postgresql.la lib/rlm_policy-${RADVER}.la diff --git a/net/freeradius2/options.mk b/net/freeradius2/options.mk index 356858d5136..52d6453a7e1 100644 --- a/net/freeradius2/options.mk +++ b/net/freeradius2/options.mk @@ -1,7 +1,8 @@ -# $NetBSD: options.mk,v 1.2 2009/04/23 18:26:05 adam Exp $ +# $NetBSD: options.mk,v 1.3 2009/09/29 09:34:09 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.freeradius PKG_SUPPORTED_OPTIONS= ldap mysql pgsql snmp kerberos pam freeradius-simul-use +PKG_SUPPORTED_OPTIONS+= perl PKG_SUGGESTED_OPTIONS= gdbm freeradius-simul-use PKG_OPTIONS_OPTIONAL_GROUPS= dbm odbc PKG_OPTIONS_GROUP.dbm= bdb gdbm @@ -9,7 +10,7 @@ PKG_OPTIONS_GROUP.odbc= iodbc unixodbc .include "../../mk/bsd.options.mk" -PLIST_VARS+= dbm gdbm iodbc ldap kerberos mysql pam pgsql unixodbc +PLIST_VARS+= dbm gdbm iodbc ldap kerberos mysql pam pgsql unixodbc perl ### ### GDBM or Berkeley DB 1.x support @@ -29,6 +30,17 @@ CONFIGURE_ARGS+= --without-rlm_dbm .endif ### +### PERL support +### +.if !empty(PKG_OPTIONS:Mperl) +. include "../../lang/perl5/buildlink3.mk" +CONFIGURE_ARGS+= --with-rlm_perl +PLIST.perl= yes +.else +CONFIGURE_ARGS+= --without-rlm_perl +.endif + +### ### OpenLDAP support ### .if !empty(PKG_OPTIONS:Mldap) |