diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-19 01:19:17 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-19 01:19:17 +0000 |
commit | 0d1bb04bbe8ee7eaa007f14be8aa22343e4c61d5 (patch) | |
tree | 96d22b37d4743122b4dc807ccdd0c672cebfe573 /net/gnu-radius/scripts/configure | |
parent | Mark BROKEN on everything but i386 and (hopefully) alpha (diff) |
[MAINTAINER] irc/kvirc: [New MASTER_SITES, Fix arts support]
- Remove duplicate and inactive mirror from MASTER_SITES
- Add new official mirrors to MASTER_SITES
- Fix arts support, add OPTIONS for audio settings and use correct entries for LIB_DEPENDS
- Use DATADIR in pkg-plist
PR: ports/75082
Submitted by: Michael Ranner <mranner@inode.at>
Notes
Notes:
svn path=/head/; revision=124448
Diffstat (limited to '')
-rw-r--r-- | net/gnu-radius/scripts/configure | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/net/gnu-radius/scripts/configure b/net/gnu-radius/scripts/configure index b7e03ad9686d..5e95f25e93b1 100644 --- a/net/gnu-radius/scripts/configure +++ b/net/gnu-radius/scripts/configure @@ -47,7 +47,8 @@ LIB_PATH=${LOCALBASE}/lib/ while [ "$1" ]; do case $1 in \"Client\") - echo "CONFIGURE_ARGS+= --with-client" + echo "CONFIGURE_ARGS+= --enable-client" + export CLIENT=Yes export GUILE=Yes ;; \"DBM\") @@ -57,12 +58,14 @@ while [ "$1" ]; do echo "USE_MYSQL= YES" echo "CONFIGURE_ARGS+= --with-mysql" LIB_PATH="$LIB_PATH:${LOCALBASE}/lib/mysql/" + export MYSQL=Yes ;; \"PostgreSQL\") echo "POSTGRESQL_PORT?= databases/postgresql7" echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}" echo "CONFIGURE_ARGS+= --with-postgres" INCLUDE_PATH="$INCLUDE_PATH:${LOCALBASE}/include/pgsql/" + export PGSQL=Yes ;; \"SNMP\") echo "CONFIGURE_ARGS+= --enable-snmp" @@ -91,4 +94,28 @@ else unset GUILE fi +if [ -z $CLIENT ]; then + echo "CLIENT= \"@comment \"" +else + echo "CLIENT= \"\"" + unset CLIENT +fi + +if [ -z $MYSQL ]; then + echo "MYSQL= \"@comment \"" +else + echo "MYSQL= \"\"" + unset MYSQL +fi + +if [ -z $PGSQL ]; then + echo "PGSQL= \"@comment \"" +else + echo "PGSQL= \"\"" + unset PGSQL +fi + echo "PLIST_SUB+= GUILE=\${GUILE}" +echo "PLIST_SUB+= CLIENT=\${CLIENT}" +echo "PLIST_SUB+= PGSQL=\${PGSQL}" +echo "PLIST_SUB+= MYSQL=\${MYSQL}" |