[MacPorts] #2826: BUG: gettext 0.14.3 cannot build when emacs port is active
MacPorts
noreply at macports.org
Thu Mar 24 05:56:49 PDT 2016
#2826: BUG: gettext 0.14.3 cannot build when emacs port is active
-----------------------+--------------------
Reporter: danchr@… | Owner: mij@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: gettext |
-----------------------+--------------------
Changes (by ryandesign@…):
* port: => gettext
Old description:
> I tried to update gettext 0.14.3, and it failed with a linker error. It
> appears
> to use emacs when compiling, and found the binary I had installed by DP.
> It
> linked against a library provided by gettext, which, of course, wasn't
> activate
> whilst upgrading it.
>
> This patch forces it to use /usr/bin/emacs, and tries to speed up the
> build by
> using a config.cache.
>
> OK to commit?
>
> Index: devel/gettext/Portfile
> ===================================================================
> RCS file:
> /Volumes/src/cvs/od/proj/darwinports/dports/devel/gettext/Portfile,v
> retrieving revision 1.34
> diff -a -u -u -r1.34 Portfile
> --- devel/gettext/Portfile 24 Mar 2005 05:58:33 -0000 1.34
> +++ devel/gettext/Portfile 7 Apr 2005 16:48:17 -0000
> @@ -20,9 +20,10 @@
>
> checksums md5 14c2644c2f3b0eb67d5db7ee389547de
>
> -configure.env LDFLAGS="-fno-common"
> +configure.env LDFLAGS="-fno-common" EMACS=/usr/bin/emacs
>
> configure.args --with-included-gettext --mandir=${prefix}/share/man \
> + --cache-file=${worksrcpath}/config.cache \
> --infodir=${prefix}/share/info --with-libiconv-
> prefix=${prefix}
>
> depends_lib lib:XXX:libiconv
> @@ -34,6 +35,8 @@
> variant darwin { configure.env-append CPPFLAGS="-no-cpp-precomp" \
> LDFLAGS="-fno-common
> -bind_at_load"
> configure.env-delete LDFLAGS="-fno-common" }
> +
> +pre-configure { system "touch ${worksrcpath}/config.cache" }
>
> post-destroot { file delete ${destroot}${prefix}/lib/charset.alias \
> ${destroot}${prefix}/share/locale/locale.alias }
New description:
I tried to update gettext 0.14.3, and it failed with a linker error. It
appears
to use emacs when compiling, and found the binary I had installed by DP.
It
linked against a library provided by gettext, which, of course, wasn't
activate
whilst upgrading it.
This patch forces it to use /usr/bin/emacs, and tries to speed up the
build by
using a config.cache.
OK to commit?
{{{
Index: devel/gettext/Portfile
===================================================================
RCS file:
/Volumes/src/cvs/od/proj/darwinports/dports/devel/gettext/Portfile,v
retrieving revision 1.34
diff -a -u -u -r1.34 Portfile
--- devel/gettext/Portfile 24 Mar 2005 05:58:33 -0000 1.34
+++ devel/gettext/Portfile 7 Apr 2005 16:48:17 -0000
@@ -20,9 +20,10 @@
checksums md5 14c2644c2f3b0eb67d5db7ee389547de
-configure.env LDFLAGS="-fno-common"
+configure.env LDFLAGS="-fno-common" EMACS=/usr/bin/emacs
configure.args --with-included-gettext --mandir=${prefix}/share/man \
+ --cache-file=${worksrcpath}/config.cache \
--infodir=${prefix}/share/info --with-libiconv-
prefix=${prefix}
depends_lib lib:XXX:libiconv
@@ -34,6 +35,8 @@
variant darwin { configure.env-append CPPFLAGS="-no-cpp-precomp" \
LDFLAGS="-fno-common
-bind_at_load"
configure.env-delete LDFLAGS="-fno-common" }
+
+pre-configure { system "touch ${worksrcpath}/config.cache" }
post-destroot { file delete ${destroot}${prefix}/lib/charset.alias \
${destroot}${prefix}/share/locale/locale.alias }
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/2826#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list