source: trunk/dports/devel/gettext/Portfile @ 11593

Last change on this file since 11593 was 11593, checked in by jkh, 15 years ago

The disposition of the dlopen() and poll() routines has evolved over 3 releases. Properly
conditionalize usage of this in the ports that need it to ensure that builds on Jaguar, Panther
and Tiger all work.

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.35 2005/04/04 10:08:36 jkh Exp $
2
3PortSystem 1.0
4name            gettext
5version         0.14.3
6categories      devel
7maintainers     mij@opendarwin.org
8description     GNU gettext package
9homepage        http://www.gnu.org/software/gettext/
10platforms       darwin freebsd linux
11
12long_description This is the GNU gettext package.  It is interesting for \
13                 authors or maintainers of other packages or programs \
14                 which they want to see internationalized.  As one \
15                 step the handling of messages in different languages \
16                 should be implemented.  For this task GNU gettext \
17                 provides the needed tools and library functions.
18
19master_sites    gnu
20
21checksums       md5 14c2644c2f3b0eb67d5db7ee389547de
22
23configure.env   LDFLAGS="-fno-common"
24build.env       PATH=${prefix}/bin:$env(PATH)
25
26configure.args  --with-included-gettext --mandir=${prefix}/share/man \
27                --infodir=${prefix}/share/info --with-libiconv-prefix=${prefix}
28
29depends_lib     lib:XXX:libiconv
30depends_run     bin:XXX:emacs
31
32platform darwin 6  { depends_lib-append lib:libdl:dlcompat \
33                                        lib:libiconv.2:libiconv
34                     configure.args-append --with-libiconv-prefix=${prefix} }
35
36variant darwin     { configure.env-append CPPFLAGS="-no-cpp-precomp" \
37                                          LDFLAGS="-fno-common -bind_at_load"
38                     configure.env-delete LDFLAGS="-fno-common" }
39
40post-destroot   { file delete ${destroot}${prefix}/lib/charset.alias \
41                  ${destroot}${prefix}/share/locale/locale.alias }
Note: See TracBrowser for help on using the repository browser.