Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37398637
en ru br
ALT Linux repos
S:0.95.2-alt4
5.0: 0.95-alt2
4.1: 0.95-alt2

Group :: System/Libraries
RPM: lesstif

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: lesstif-motif-config-use_libdir.diff
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      
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin