Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 12:17:17 +0200 (EET)
From:      Andrey Pavlenko <lance@evitel.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35847: Patch for GNU-Radius port
Message-ID:  <200203131017.g2DAHHG52410@elbrus.evitel.net>

next in thread | raw e-mail | index | archive | help

>Number:         35847
>Category:       ports
>Synopsis:       Patch for GNU-Radius port
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 02:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Pavlenko
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
ISP Evitel
>Environment:
System: FreeBSD elbrus.evitel.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Jan 30 09:42:11 EET 2002 root@elbrus.evitel.net:/var/obj/usr/src/sys/ELBRUS i386

>Description:
	Correction to search some includes and libs
>How-To-Repeat:

>Fix:

--- gnu-radius.diff begins here ---
diff -ruN gnu-radius.old/Makefile gnu-radius/Makefile
--- gnu-radius.old/Makefile	Tue Mar 12 17:37:36 2002
+++ gnu-radius/Makefile	Tue Mar 12 17:27:49 2002
@@ -1,5 +1,5 @@
 # New ports collection makefile for:	gnu-radius
-# Date created:		13 Jul 2001
+# Date created:		12 Mar 2002
 # Whom:			lance@evitel.net
 #
 # $FreeBSD: ports/net/gnu-radius/Makefile,v 1.1 2002/03/08 03:11:04 kbyanc Exp $
@@ -16,8 +16,9 @@
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-include-path="${PREFIX}"
-
+CONFIGURE_ARGS=	--with-include-path="/usr/local/include/"
+CONFIGURE_ARGS+= --with-lib-path="/usr/local/lib/"
+ 
 MAN1=		radgrep.1 radlast.1 raduse.1 radwho.1
 MAN8=		builddbm.8 radctl.8 radiusd.8 radping.8 radzap.8
 MANCOMPRESSED=	no
diff -ruN gnu-radius.old/Makefile.inc gnu-radius/Makefile.inc
--- gnu-radius.old/Makefile.inc	Tue Mar 12 17:37:36 2002
+++ gnu-radius/Makefile.inc	Thu Jan  1 03:00:00 1970
@@ -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 -ruN gnu-radius.old/scripts/configure gnu-radius/scripts/configure
--- gnu-radius.old/scripts/configure	Tue Mar 12 17:37:36 2002
+++ gnu-radius/scripts/configure	Tue Mar 12 17:27:49 2002
@@ -52,10 +52,12 @@
 		\"MySQL\")
 			echo "LIB_DEPENDS+=	mysqlclient.10:\${PORTSDIR}/databases/mysql323-client:install"
 			echo "CONFIGURE_ARGS+= --with-mysql"
+			echo "CONFIGURE_ARGS+= --with-lib-path=/usr/local/lib/mysql/"
 			;;
 		\"PostgreSQL\")
 			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7:install"
 			echo "CONFIGURE_ARGS+= --with-postgres"
+			echo "CONFIGURE_ARGS+= --with-include-path=/usr/local/include/pgsql/"
 			;;
 		\"SNMP\")
 			echo "CONFIGURE_ARGS+= --enable-snmp"
--- gnu-radius.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203131017.g2DAHHG52410>