Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2004 13:37:26 -0500 (CDT)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66267: textproc/libcroc build can't find iconv.h (patch included)
Message-ID:  <200405041837.i44IbQMA031027@ip68-14-60-78.no.no.cox.net>
Resent-Message-ID: <200405041840.i44IeDVB082648@freefall.freebsd.org>

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

>Number:         66267
>Category:       ports
>Synopsis:       textproc/libcroc build can't find iconv.h (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 04 11:40:13 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
None
>Environment:
System: FreeBSD ip68-14-60-78.no.no.cox.net 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Thu Apr 29 11:12:46 CDT 2004 root@ip68-14-60-78.no.no.cox.net:/usr/obj/usr/src/sys/MYKERNEL i386


>Description:
	Build of textproc/libcroco fails when the includes from libxml2
	which it depends on are unable to find iconv.h (due to missing
	-I${PREFIX}/include in CFLAGS)
>How-To-Repeat:
	cd /usr/ports/textproc/libcroco; make
>Fix:
	Apply the following patch to add the missing include path:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/libcroco/Makefile,v
retrieving revision 1.9
diff -u -d -H -u -r1.9 Makefile
--- Makefile	18 Apr 2004 17:57:53 -0000	1.9
+++ Makefile	4 May 2004 18:25:13 -0000
@@ -20,6 +20,8 @@
 INSTALLS_SHLIB=	yes
 USE_GNOME=	gnomehack gtk20 libxml2
 
+CFLAGS+=	-I${PREFIX}/include
+
 MAN1=		croco-config.1 csslint.1
 
 .include <bsd.port.mk>

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



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