summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephanie J. Lockwood-Childs <wormo@gentoo.org>2005-05-17 20:09:16 +0000
committerStephanie J. Lockwood-Childs <wormo@gentoo.org>2005-05-17 20:09:16 +0000
commitf36d25e991836913e0a4790dfeb7a683f726a907 (patch)
tree9c85a75a86f9f30ff5ddbec012f44ebc294f5433 /app-arch/pdv/files
parentnomotif flag for app-arch/pdv, analagous to nomotif for xpdf (but only the (diff)
downloadgentoo-2-f36d25e991836913e0a4790dfeb7a683f726a907.tar.gz
gentoo-2-f36d25e991836913e0a4790dfeb7a683f726a907.tar.bz2
gentoo-2-f36d25e991836913e0a4790dfeb7a683f726a907.zip
fix configure script for X front-end, closes bug #90955
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-arch/pdv/files')
-rw-r--r--app-arch/pdv/files/pdv-1.5.1-x-config.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-arch/pdv/files/pdv-1.5.1-x-config.patch b/app-arch/pdv/files/pdv-1.5.1-x-config.patch
new file mode 100644
index 000000000000..8bab9bee1bfe
--- /dev/null
+++ b/app-arch/pdv/files/pdv-1.5.1-x-config.patch
@@ -0,0 +1,18 @@
+diff -ur pdv-1.5.1-orig/X11/configure.in pdv-1.5.1/X11/configure.in
+--- pdv-1.5.1-orig/X11/configure.in 2005-05-13 13:43:27.577544136 -0700
++++ pdv-1.5.1/X11/configure.in 2005-05-13 13:36:14.218424736 -0700
+@@ -17,8 +17,12 @@
+ AC_PATH_X
+
+ dnl Checks for libraries.
+-CFLAGS=-I$x_includes
+-LDFLAGS=-L$x_libraries
++if test "x$x_includes" != x ; then
++ CFLAGS="$CFLAGS -I$x_includes"
++fi
++if test "x$x_libraries" != x ; then
++ LDFLAGS="$LDFLAGS -L$x_libraries"
++fi
+
+ AC_CHECK_LIB(Xt, XtManageChild)
+ AC_CHECK_LIB(X11, XLoadFont)