Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 16:54:49 +0200
From:      Reinier Post <rp@win.tue.nl>
To:        gnome@freebsd.org
Subject:   libiconv-1.7 Makefile problem
Message-ID:  <20020519165448.A5426@win.tue.nl>

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

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

  Hi,

Trying to compile the GNU gettext port on my FreeBSD 4.2-RELEASE system,
I encountered a problem in libiconv: it calls /usr/bin/gperf with -L,
but my /usr/bin/gperf doesn't support that option.  /usr/local/bin/gperf,
from the gperf port, does support the option.

Attached is what I did to fix it; there should probably be something
that tries both.

I haven't checked if this has been reported before.

  Thanks for the port,

-- 
Reinier Post

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libiconv-1.7.diff-u"

--- Makefile.orig	Thu May  2 04:13:52 2002
+++ Makefile	Sun May 19 16:22:43 2002
@@ -24,6 +24,6 @@
 MAN3=		iconv.3 iconv_open.3 iconv_close.3
 
 pre-build:
-	@cd ${WRKSRC} ; /usr/bin/gperf -t -L ANSI-C -H aliases_hash -N aliases_lookup -7 -C -k '1,3-11,$$' -i 1 lib/aliases.gperf > lib/aliases.h
+	@cd ${WRKSRC} ; /usr/local/bin/gperf -t -L ANSI-C -H aliases_hash -N aliases_lookup -7 -C -k '1,3-11,$$' -i 1 lib/aliases.gperf > lib/aliases.h
 
 .include <bsd.port.mk>

--2oS5YaxWCcQjTEyO--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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