Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2008 03:45:10 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124567: [PATCH] lang/gdc: missing USE_ICONV
Message-ID:  <20080613234510.E3F261702D@hades.panopticon>
Resent-Message-ID: <200806132350.m5DNo3hZ053206@freefall.freebsd.org>

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

>Number:         124567
>Category:       ports
>Synopsis:       [PATCH] lang/gdc: missing USE_ICONV
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 13 23:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Apr 25 11:18:45 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
lang/gdc uses iconv:

% ldd /usr/local/bin/gdc
/usr/local/bin/gdc:
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28097000)
        libc.so.7 => /lib/libc.so.7 (0x2818c000)

but there's no USE_ICONV=yes in the port.
>How-To-Repeat:
>Fix:

--- gdc.patch begins here ---
diff -ruN gdc.orig/Makefile gdc/Makefile
--- gdc.orig/Makefile	2008-06-14 03:10:59.000000000 +0400
+++ gdc/Makefile	2008-06-14 03:11:09.000000000 +0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	gdc
 PORTVERSION=	0.24
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GCC} \
 		${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dgcc/g:S/$/:gdc/g}
@@ -25,6 +25,7 @@
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_PERL5=	yes
+USE_ICONV=	yes
 
 SRCDIR=		${WRKDIR}/gcc-${GCC_VERSIONSTRING}
 WRKSRC=		${WRKDIR}/build
--- gdc.patch ends here ---

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



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