From vsevolod@highsecure.ru  Sat Jun 25 20:29:23 2005
Return-Path: <vsevolod@highsecure.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 25E7D16A41C
	for <freebsd-gnats-submit@freebsd.org>; Sat, 25 Jun 2005 20:29:23 +0000 (GMT)
	(envelope-from vsevolod@highsecure.ru)
Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8C7B043D1D
	for <freebsd-gnats-submit@freebsd.org>; Sat, 25 Jun 2005 20:29:22 +0000 (GMT)
	(envelope-from vsevolod@highsecure.ru)
Received: from waterwall.inec.ru (root@localhost)
  by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j5PKSUVd033710
    for <freebsd-gnats-submit@freebsd.org>; Sun, 26 Jun 2005 00:28:30 +0400 (MSD)
Received: from waterwall.inec.ru (localhost.inec.ru [127.0.0.1])
  by localhost (8.13.1/8.12.6) with ESMTP id j5PKSULZ033705
    for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Jun 2005 00:28:30 +0400 (MSD)
Received: from localhost (localhost.inec.ru [127.0.0.1])
	by localhost (Postfix) with SMTP id 65C245A0FA
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Jun 2005 00:28:30 +0400 (MSD)
Received: from core (postbox.inec.ru [213.148.3.226])
	by waterwall.inec.ru (Postfix) with ESMTP id AAP2042BDBE6E7F6E
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Jun 2005 00:28:30 +0400 (MSD)
Received: from [213.219.249.64] (helo=spray.anyhost.ru)
	by core with esmtp (Exim 4.51 (FreeBSD))
	id 1DmHH6-000FfA-F6
	for FreeBSD-gnats-submit@freebsd.org; Sun, 26 Jun 2005 00:29:12 +0400
Received: from cebka by spray.anyhost.ru with local (Exim 4.51 (FreeBSD))
	id 1DmHHE-000LNh-Ms
	for FreeBSD-gnats-submit@freebsd.org; Sun, 26 Jun 2005 00:29:20 +0400
Message-Id: <E1DmHHE-000LNh-Ms@spray.anyhost.ru>
Date: Sun, 26 Jun 2005 00:29:20 +0400
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
Sender: Vsevolod Stakhov <vsevolod@highsecure.ru>
Reply-To: Vsevolod Stakhov <vsevolod@highsecure.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Unbroke: net/gnu-radius 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82651
>Category:       ports
>Synopsis:       Unbroke: net/gnu-radius
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 25 20:30:16 GMT 2005
>Closed-Date:    Sun Jun 26 03:14:56 GMT 2005
>Last-Modified:  Sun Jun 26 03:14:56 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: novel 
State-Changed-When: Sun Jun 26 03:13:11 GMT 2005 
State-Changed-Why:  
Committed, thanks! By the way, you don't need to bump 
PORTREVISION when you un-break the port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82651 
>Unformatted:
