From itetcu@people.tecnik93.com  Sat Mar  4 19:58:19 2006
Return-Path: <itetcu@people.tecnik93.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0D67816A420;
	Sat,  4 Mar 2006 19:58:19 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 93C6D43D45;
	Sat,  4 Mar 2006 19:58:18 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (localhost [127.0.0.1])
	by it.buh.tecnik93.com (Postfix) with ESMTP id A433017427;
	Sat,  4 Mar 2006 21:58:14 +0200 (EET)
Message-Id: <1141502294.4022@it.buh.tecnik93.com>
Date: Sat, 4 Mar 2006 21:58:14 +0200
From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: ade@freebsd.org
Subject: [PATCH] devel/xparam: UNBREAK after libtool update; unbreak on 5.x
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         94071
>Category:       ports
>Synopsis:       [PATCH] devel/xparam: UNBREAK after libtool update; unbreak on 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 04 20:00:19 GMT 2006
>Closed-Date:    Sun Mar 05 21:51:03 GMT 2006
>Last-Modified:  Sun Mar 05 21:51:03 GMT 2006
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P



>Description:


This port need libtoll to build and install.
Use gcc 3.3 instead of make it broken on 5 post 502126.
The port compiles fine with gcc 3.4.4 so use system compiler on 6.x.


>How-To-Repeat:





>Fix:


--- xparam.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/xparam/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	23 Feb 2006 10:36:19 -0000	1.18
+++ Makefile	4 Mar 2006 19:42:56 -0000
@@ -17,13 +17,13 @@
 COMMENT=	A general-purpose tool for parameter handling in C++
 
 USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	libtool:15
 INSTALLS_SHLIB=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile with gcc 3.4.2"
+.if ( ${OSVERSION} >= 502126 &&  ${OSVERSION} < 600000 )
+USE_GCC=	3.3
 .endif
 
 .include <bsd.port.post.mk>
--- xparam.diff ends here ---



>Release-Note:
>Audit-Trail:

From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
Cc: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>,
 ade@FreeBSD.org
Subject: Re: ports/94071: [PATCH] devel/xparam: UNBREAK after libtool
 update; unbreak on 5.x
Date: Sun, 5 Mar 2006 16:08:28 +0200

 Reported by:		YAPHR
 
 -- 
 IOnut - Unregistered ;) FreeBSD "user"
   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
 
 BOFH excuse #131:
 telnet: Unable to connect to remote host: Connection refused
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Sun Mar 5 20:43:08 UTC 2006 
Responsible-Changed-Why:  
Mine. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94071 
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Sun Mar 5 21:50:41 UTC 2006 
State-Changed-Why:  
Committed after testing on both 5.x and 6.x, thanks. 

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