Correct include and lib paths

PR:		35847
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-03-14 06:19:43 +00:00
parent e0e8980b78
commit 31970438e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56056
3 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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"