ports/146979: editors/emacs configuration ignores "-D WITHOUT_X11"
Ashish SHUKLA
wahjava at gmail.com
Wed May 26 18:00:18 UTC 2010
The following reply was made to PR ports/146979; it has been noted by GNATS.
From: wahjava at gmail.com (Ashish SHUKLA)
To: Anonymous <swell.k at gmail.com>
Cc: Paul Hoffman <phoffman at proper.com>, bug-followup at FreeBSD.org, Giorgos Keramidas <keramida at freebsd.org>
Subject: Re: ports/146979: editors/emacs configuration ignores "-D WITHOUT_X11"
Date: Wed, 26 May 2010 23:21:30 +0530
--=-=-=
Content-Transfer-Encoding: quoted-printable
Ashish SHUKLA writes:
[...]
>> # Solaris requires -lintl if you want strerror (which calls dgettext)
>> # to return localized messages.
>> AC_CHECK_LIB(intl, dgettext)
>> --- a.diff begins here ---
>> Index: editors/emacs/Makefile
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> RCS file: /a/.cvsup/ports/editors/emacs/Makefile,v
>> retrieving revision 1.95
>> diff -u -p -r1.95 Makefile
>> --- editors/emacs/Makefile 21 May 2010 19:51:04 -0000 1.95
>> +++ editors/emacs/Makefile 26 May 2010 05:12:18 -0000
>> @@ -28,8 +28,6 @@ GNU_CONFIGURE=3D yes
>> USE_GMAKE=3D yes
>> USE_BZIP2=3D yes
=20
>> -USE_GETTEXT=3D yes
>> -
>> MAN1=3D b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
>> grep-changelog.1 rcs-checkin.1
>> PLIST_SUB=3D EMACS_VER=3D${EMACS_VER} EMACS_ARCH=3D${CONFIGURE_TARGET}
>> --- a.diff ends here ---
I'm not using the patch as it is, since emacs links with libintl.so if it
founds one, and its dependencies depend on libintl directly or indirectly. =
In
case dependency is not registered, then wiping off gettext won't cause emacs
to deinstall, and might cause emacs to stop working.
#v+
% readelf -d /usr/local/bin/emacs |fgrep intl
0x0000000000000001 (NEEDED) Shared library: [libintl.so.8]
#v-
For the patch, check the PR ports/147087.
Thanks
=2D-=20
Ashish SHUKLA
Sent via Gnus from GNU Emacs
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iQIcBAEBCgAGBQJL/V+lAAoJEMdGz6nnT6SwbUgP/3pHknFFZ5r0nlkjnrNII2aS
125jhSQCGKPzSbWLAA7YNdPNkwjBAlv9MIFuMdRCycIQVaqiJHWdYqLDvPB9JoFM
zPMalRQAgjEcKl3J3ua2YravvKSqifb7BfJ6NxrqAiqaJb19gxfn/BMxFlxCA2H3
0J7mAnY/C4JVsT4IQ17x6NxzmH0qLaxH5vLUnEutyElpsls/WPHIE2+Iyu4F4Q7w
SZNh8ktRIpvkWIAC1AdbjCQ10T4LUBC/dgtGfTusF+uSknkxvFwU9VoIaBum1LGo
Ez9fWqWHhCXev/aRKJVxEq3B9yacf5RqmlqoQt5Kgos+zWYX1OnyFggtW6JYinY6
Cx2k0bKRIhpdEw3a6+IB75Yw9WwyXSCH6u2lkh4yn9aJE+2yEjUs7MK9E9f551y5
I2z53pDFnG9D999gSXlT0n0W4SeLDVR4Io49dnbv5ILqJH+Ak2SL/k+7nCv3RTZL
HgHZRWMA5Ju7pfyzbB7E6M8mjPb7qBJM7MCNUdgRcPEn5NE3JXuYXNcOfc6Nasw0
PVQGGu6Dyw+UQ2Gtn9P11SZFrUGUs+1YpalH2OfZlVbx2N4cz6+M0aV/vQ68yxiX
LvdLhfUsrWbTu69RI4eGeBh5FIuSdMeJ6HpkDDIQHwVSTzANSCe8IGpbr9TK4BB+
6UbQ5zrNGHWkd67XGNAx
=aD8c
-----END PGP SIGNATURE-----
--=-=-=--
More information about the freebsd-ports-bugs
mailing list