Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2007 14:20:41 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        eischen@vigrid.com
Subject:   ports/108138: [PATCH] lang/gnat: gnat uses ICONV, but does not define USE_ICONV
Message-ID:  <200701200620.l0K6Kfsu080482@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200701200630.l0K6UJgp030246@freefall.freebsd.org>

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

>Number:         108138
>Category:       ports
>Synopsis:       [PATCH] lang/gnat: gnat uses ICONV, but does not define USE_ICONV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 20 06:30:18 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- gnat uses iconv but does not define it
  Therefore, when building textproc/words, it fails with

===>  Building for words-1.97F
gnatgcc -c -O3 words.adb
/libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found, required by "gnatgcc"
gnatmake: "words.adb" compilation error
*** Error code 4

Stop in /a/ports/textproc/words.

Port maintainer (eischen@vigrid.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gnat-2006_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/lang/gnat/Makefile,v
retrieving revision 1.54
diff -u -u -r1.54 Makefile
--- Makefile	26 Dec 2006 16:56:14 -0000	1.54
+++ Makefile	20 Jan 2007 06:18:04 -0000
@@ -15,6 +15,7 @@
 
 PORTNAME=	gnat
 PORTVERSION=	2006
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_LOCAL}:boot
 MASTER_SITE_SUBDIR=	deischen/gcc/:boot
@@ -26,6 +27,7 @@
 CONFLICTS=	gcc-3.4.*
 USE_GMAKE=	yes
 USE_BISON=	yes
+USE_ICONV=	yes
 USE_PERL5_RUN=	yes
 
 .include <bsd.port.pre.mk>
--- gnat-2006_1.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?200701200620.l0K6Kfsu080482>