Group :: Sistema/Bibliotecas
RPM: lesstif
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: lesstif-motif-config-use_libdir.diff
Download
Download
--- lesstif-0.95.0/scripts/motif-config.in.multilib 2006-08-30 18:22:22.000000000 +0200
+++ lesstif-0.95.0/scripts/motif-config.in 2006-08-30 18:22:04.000000000 +0200
@@ -2,14 +2,15 @@
#
# $Header: /cvsroot/lesstif/lesstif/scripts/motif-config.in,v 1.2 2005/01/14 19:36:00 dannybackx Exp $
#
-L="@prefix@"
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+libdir="@libdir@"
+includedir="@includedir@"
XC="@X_CFLAGS@"
XL="@X_LIBS@"
XR="@XRENDER_LIBS@"
V="@PACKAGE_NAME@ @PACKAGE_VERSION@"
-prefix=$L
-exec_prefix=$L
exec_prefix_set=no
usage()
@@ -80,10 +81,10 @@
fi
if test "$echo_cflags" = "yes"; then
- echo "-I$L/include $XC"
+ echo "-I$includedir $XC"
fi
if test "$echo_libs" = "yes"; then
- echo "-L$L/lib -L/usr/X11R6/lib -lXm -lXt $my_glib_libs $XR -lXext -lX11"
+ echo "-L$libdir -lXm -lXt $my_glib_libs $XR -lXext -lX11"
fi