Subject: Re: unable to compile devel/popt
To: Jeremy C. Reed <reed@reedmedia.net>
From: Siegmund Fuehringer <sifu@isohypse.org>
List: tech-pkg
Date: 05/17/2004 17:29:03
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 15, 2004 at 10:13:28PM -0700, Jeremy C. Reed wrote:
> On Fri, 14 May 2004, Siegmund Fuehringer wrote:
>=20
> > i'm not able to compile devel/popt under a Linux/PPC OS:
>=20

[...]

>=20
> Don't use converters/libiconv. Since you use Linux, you probably already
> have a glibc with a working iconv.
>=20
> diff -b -u -r1.26 Makefile
> --- converters/libiconv/Makefile	28 Apr 2004 15:19:04 -0000	1.26
> +++ converters/libiconv/Makefile	16 May 2004 05:10:54 -0000
> @@ -10,6 +10,12 @@
>  HOMEPAGE=3D		http://www.gnu.org/software/libiconv/
>  COMMENT=3D		Character set conversion library
>=20
> +.include "../../mk/bsd.prefs.mk"
> +.if ${OPSYS} =3D=3D "Linux"
> +# don't use PKG_SKIP_REASON yet so we can make sure the buildlinking is =
correct
> +PKG_FAIL_REASON+=3D	"${PKGNAME} is not needed for Linux; it is included =
in GNU libc."
> +.endif
> +
>  PKG_INSTALLATION_TYPES=3D	overwrite pkgviews
>=20
>  USE_BUILDLINK3=3D		YES
>=20
>=20
> And fix the builtin.mk so it is not used for Linux.
>=20
> Also, consider not using gettext-libs too. Since you probably have glibc.
>=20
> I'd try deinstalling libiconv and gettext-libs. (And make them never
> install again.)
>=20
> I use Linux. I do not use libiconv and I do not use gettext-libs. If I
> really need gettext-provided tools, I use the wip/gettext-tools package
> (which is newer).

thank you very much for your tips!=20
it seems that everything compiles now.

cheers,
	siegmund

>=20
>  Jeremy C. Reed
>=20
>  	  	 	 BSD News, BSD tutorials, BSD links
> 	  	 	 http://www.bsdnewsletter.com/
>=20
>=20

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAqNo/i6ACRCFwm4IRAgzDAKDHAtuBsohqCsrfPMkp4dYLZTEhKQCdGTYs
rewEFYYAndH6ZhYyvNJoBLQ=
=rbD2
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--