Skip site navigation (1)Skip section navigation (2)
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:   ports/94071: [PATCH] devel/xparam: UNBREAK after libtool update; unbreak on 5.x
Message-ID:  <1141502294.4022@it.buh.tecnik93.com>
Resent-Message-ID: <200603042000.k24K0Kik041905@freefall.freebsd.org>

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

>Number:         94071
>Category:       ports
>Synopsis:       [PATCH] devel/xparam: UNBREAK after libtool update; unbreak on 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 04 20:00:19 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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