<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>97961</bug_id>
          
          <creation_ts>2005-07-04 23:25 0000</creation_ts>
          <short_desc>prettify and fix lib -&gt; $(get_libdir) in the windowmaker ebuilds</short_desc>
          <delta_ts>2005-07-06 16:09:08 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chutz@gg3.net</reporter>
          <assigned_to>gnustep@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>chutz@gg3.net</who>
            <bug_when>2005-07-04 23:25:00 0000</bug_when>
            <thetext>There are a couple of sed-s in the windowmaker ebuilds that are a bit hard to read. They have a lot of &quot;\/&quot; which could easily be avoided by using a different separator.

Also a lib should become $(get_libdir) in one of the seds. Please consider the following patch:

@@ -92,20 +119,23 @@   
        for file in ${S}/WindowMaker/*menu*; do
                if [ -r $file ]; then
                        if use gnustep ; then
-                               sed -e &quot;s/\/usr\/local\/GNUstep/`cat ${TMP}/sed.gs_prefix`System/g;
-                                       s/XXX_SED_FSLASH/\//g;&quot; &lt; $file &gt; $file.tmp
+                               sed -e &quot;s:/usr/local/GNUstep:`cat ${TMP}/sed.gs_prefix`System:g;&quot; \
+                                       -e &quot;s:XXX_SED_FSLASH:/:g;&quot; &lt; $file &gt; $file.tmp
                        else
-                               sed -e &apos;s/\/usr\/local\/GNUstep/\/usr\/lib\/GNUstep/g;&apos; &lt; $file &gt; $file.tmp
+                               sed -e &quot;s:/usr/local/GNUstep:/usr/$(get_libdir)/GNUstep:g;&quot; &lt; $file &gt; $file.tmp
                        fi
                        mv $file.tmp $file;

-                       sed -e &apos;s/\/usr\/local\/share\/WindowMaker/\/usr\/share\/WindowMaker/g;&apos; &lt; $file &gt; $file.tmp;
+                       sed -e &apos;s:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;&apos; &lt; $file &gt; $file.tmp;
                        mv $file.tmp $file;
                fi;
        done;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fafhrd@gentoo.org</who>
            <bug_when>2005-07-06 16:09:08 0000</bug_when>
            <thetext>thanks for the cleanup ... it is about 100x nicer with the different seperators :-)

fixes in portage
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>