ports/94071: [PATCH] devel/xparam: UNBREAK after libtool update; unbreak on 5.x

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Sat Mar 4 20:00:21 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list