Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/chktex/files: chktex-1.7.0-asneeded.patch
Date: Fri, 22 Jun 2012 15:41:40
aballier    12/06/22 15:41:31

  Added:                chktex-1.7.0-asneeded.patch
  version bump
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-tex/chktex/files/chktex-1.7.0-asneeded.patch

file :

Index: chktex-1.7.0-asneeded.patch
Index: chktex-1.7.0/
--- chktex-1.7.0.orig/
+++ chktex-1.7.0/
@@ -107,7 +107,7 @@ if test "$enable_pcre" = "yes"; then
   if test "$WITH_PCRE" = "yes"; then
     AC_DEFINE(HAVE_PCRE, 1, "Whether PCRE can be used for user warnings.")
     CFLAGS="${CFLAGS} $(pcre-config --cflags)"
-    LDFLAGS="${LDFLAGS} $(pcre-config --libs)"
+    LIBS="${LIBS} $(pcre-config --libs)"
     AC_DEFINE(HAVE_PCRE, 0, "Whether PCRE can be used for user warnings.")
     warn_pcre="PCRE library not found.  This will result in user regular expression tests being ignored."