From 949ccf1388bba6b7de8083436824a1eb5b1f7bc5 Mon Sep 17 00:00:00 2001 From: pat Date: Thu, 14 Mar 2002 06:19:43 +0000 Subject: Correct include and lib paths PR: 35847 Submitted by: maintainer --- net/gnu-radius/Makefile | 3 ++- net/gnu-radius/Makefile.inc | 5 ----- net/gnu-radius/scripts/configure | 2 ++ 3 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 net/gnu-radius/Makefile.inc (limited to 'net') diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile index da8c3ed333f7..8086c4b572c9 100644 --- a/net/gnu-radius/Makefile +++ b/net/gnu-radius/Makefile @@ -16,7 +16,8 @@ MAINTAINER= lance@evitel.net USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-include-path="${PREFIX}" +CONFIGURE_ARGS= --with-include-path="${LOCALBASE}/include/" \ + --with-lib-path="${LOCALBASE}/lib/" MAN1= radgrep.1 radlast.1 raduse.1 radwho.1 MAN8= builddbm.8 radctl.8 radiusd.8 radping.8 radzap.8 diff --git a/net/gnu-radius/Makefile.inc b/net/gnu-radius/Makefile.inc deleted file mode 100644 index 25ba22cfd95a..000000000000 --- a/net/gnu-radius/Makefile.inc +++ /dev/null @@ -1,5 +0,0 @@ -CONFIGURE_ARGS+= --with-client -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client:install -CONFIGURE_ARGS+= --with-mysql -CONFIGURE_ARGS+= --enable-snmp -BUILD_DEPENDS+= guile:${PORTSDIR}/lang/guile diff --git a/net/gnu-radius/scripts/configure b/net/gnu-radius/scripts/configure index cb41950eaf8f..dbfb5a312f20 100644 --- a/net/gnu-radius/scripts/configure +++ b/net/gnu-radius/scripts/configure @@ -52,10 +52,12 @@ while [ "$1" ]; do \"MySQL\") echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client:install" echo "CONFIGURE_ARGS+= --with-mysql" + echo "CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib/mysql/" ;; \"PostgreSQL\") echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7:install" echo "CONFIGURE_ARGS+= --with-postgres" + echo "CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include/pgsql/" ;; \"SNMP\") echo "CONFIGURE_ARGS+= --enable-snmp" -- cgit