Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 00:29:20 +0400
From:      Vsevolod Stakhov <vsevolod@highsecure.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82651: Unbroke: net/gnu-radius 
Message-ID:  <E1DmHHE-000LNh-Ms@spray.anyhost.ru>
Resent-Message-ID: <200506252030.j5PKUH8i078810@freefall.freebsd.org>

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

>Number:         82651
>Category:       ports
>Synopsis:       Unbroke: net/gnu-radius
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 25 20:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
>Description:
I'm very sorry for such a long timeout - I did not mention that problem.
So this fix includes adding USE_LIBLTDL and some fix to configure script.
>How-To-Repeat:
>Fix:

diff -ruPN gnu-radius.orig/Makefile gnu-radius/Makefile
--- gnu-radius.orig/Makefile	Sun Jun 26 00:24:14 2005
+++ gnu-radius/Makefile	Sun Jun 26 00:24:41 2005
@@ -6,6 +6,7 @@
 
 PORTNAME=	gnu-radius
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	radius
@@ -14,8 +15,6 @@
 MAINTAINER=	vsevolod@highsecure.ru
 COMMENT=	GNU RADIUS server
 
-BROKEN=		Incomplete pkg-plist
-
 CONFLICTS=	freeradius-0.* openradius-0.* radiusd-cistron-1.*
 USE_RC_SUBR=	yes
 USE_SUBMAKE=	yes
@@ -24,6 +23,7 @@
 USE_LIBTOOL_VER=	15
 INSTALLS_SHLIB=	yes
 USE_GETTEXT=	yes
+USE_LIBLTDL=	yes
 CONFIGURE_TARGET=	# empty
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
diff -ruPN gnu-radius.orig/files/patch-configure gnu-radius/files/patch-configure
--- gnu-radius.orig/files/patch-configure	Thu Jan  1 03:00:00 1970
+++ gnu-radius/files/patch-configure	Sun Jun 26 00:24:41 2005
@@ -0,0 +1,20 @@
+--- configure.orig	Sun Jun 26 00:02:58 2005
++++ configure	Sun Jun 26 00:20:51 2005
+@@ -22804,7 +22804,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-   for path in /usr/local/lib/mysql /usr/lib/mysql
++   for path in ${PREFIX}/lib/mysql /usr/local/lib/mysql /usr/lib/mysql
+    do
+       LIBS="$save_LIBS -lm -L$path -lmysqlclient"
+       cat >conftest.$ac_ext <<_ACEOF
+@@ -22925,7 +22925,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-   for path in /usr/local/pgsql/lib /usr/pgsql/lib
++   for path in ${PREFIX}/lib /usr/local/lib /usr/lib
+    do
+       LIBS="$save_LIBS  -L$path -lpq"
+       cat >conftest.$ac_ext <<_ACEOF

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DmHHE-000LNh-Ms>