pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/freeradius2 Added "perl" as an option to fix PR#42064



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8424430cec1c
branches:  trunk
changeset: 399738:8424430cec1c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Sep 29 09:34:09 2009 +0000

description:
Added "perl" as an option to fix PR#42064

diffstat:

 net/freeradius2/PLIST      |   4 +++-
 net/freeradius2/options.mk |  16 ++++++++++++++--
 2 files changed, 17 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r c43f106a3444 -r 8424430cec1c net/freeradius2/PLIST
--- a/net/freeradius2/PLIST     Tue Sep 29 06:40:36 2009 +0000
+++ b/net/freeradius2/PLIST     Tue Sep 29 09:34:09 2009 +0000
@@ -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.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 -r c43f106a3444 -r 8424430cec1c net/freeradius2/options.mk
--- a/net/freeradius2/options.mk        Tue Sep 29 06:40:36 2009 +0000
+++ b/net/freeradius2/options.mk        Tue Sep 29 09:34:09 2009 +0000
@@ -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 @@
 
 .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 @@
 .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)



Home | Main Index | Thread Index | Old Index