fetchmail: ensure fetchmail builds with USE_NLS=no in 6.2.5
authorJohn Bowler <jbowler@nslu2-linux.org>
Sat, 7 Jan 2006 17:32:52 +0000 (17:32 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 7 Jan 2006 17:32:52 +0000 (17:32 +0000)
  - on systems without NLS (i.e. USE_NLS=no in the config)
  - fetchmail will still reference libintl.h unless
  - --disable-nls is used, inheriting gettext ensures that
  - the correct nls option is passed to config

packages/fetchmail/fetchmail_6.2.5.bb

index 6657f41..2378015 100644 (file)
@@ -1,14 +1,20 @@
+PR = "r1"
 SECTION = "console/network"
 LICENSE = "GPL"
 DESCRIPTION = "Fetchmail is a free, full-featured, robust, \
 well-documented remote-mail retrieval and forwarding utility \
 intended to be used over on-demand TCP/IP links \
 (such as SLIP or PPP connections)."
+#NOTE: by default configure sets --enable-nls and this pulls in
+# libintl.h in the compile.  gettext disables NLS if USE_NLS=no
+# and will remove libintl from DEPENDS, the following line should
+# be uncommmented after testing on a system with USE_NLS=yes
+#DEPENDS = "virtual/libintl"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/f/${PN}/${PN}_${PV}.orig.tar.gz \
           file://configure.patch;patch=1"
 
-inherit autotools
+inherit autotools gettext
 
 do_configure_prepend () {
        if [ ! -e acinclude.m4 ]; then