|  | @@ -57,6 +57,7 @@
 | 
	
		
			
				|  |  |              --mandir=/usr/share/man \
 | 
	
		
			
				|  |  |              --with-shared           \
 | 
	
		
			
				|  |  |              --without-debug         \
 | 
	
		
			
				|  |  | +            --enable-pc-files       \
 | 
	
		
			
				|  |  |              --enable-widec</userinput></screen>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <variablelist>
 | 
	
	
		
			
				|  | @@ -76,16 +77,13 @@
 | 
	
		
			
				|  |  |          </listitem>
 | 
	
		
			
				|  |  |        </varlistentry>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      <!--
 | 
	
		
			
				|  |  |        <varlistentry>
 | 
	
		
			
				|  |  | -        <term><parameter>- -without-cxx-binding</parameter></term>
 | 
	
		
			
				|  |  | +        <term><parameter>--enable-pc-files</parameter></term>
 | 
	
		
			
				|  |  |          <listitem>
 | 
	
		
			
				|  |  | -          <para>This optional switch causes the
 | 
	
		
			
				|  |  | -          <filename class="libraryfile">libncurses++w.a</filename> library
 | 
	
		
			
				|  |  | -          not to be built. Nothing in LFS and BLFS uses this library.</para>
 | 
	
		
			
				|  |  | +          <para>This switch generates and installs .pc files for pkg-config.
 | 
	
		
			
				|  |  | +          </para>
 | 
	
		
			
				|  |  |          </listitem>
 | 
	
		
			
				|  |  |        </varlistentry>
 | 
	
		
			
				|  |  | -      -->
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      </variablelist>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -119,9 +117,10 @@
 | 
	
		
			
				|  |  |      wide-character libraries by means of symlinks and linker scripts:</para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <screen><userinput remap="install">for lib in ncurses form panel menu ; do 
 | 
	
		
			
				|  |  | -    rm -vf /usr/lib/lib${lib}.so 
 | 
	
		
			
				|  |  | -    echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so
 | 
	
		
			
				|  |  | -    ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
 | 
	
		
			
				|  |  | +    rm -vf                    /usr/lib/lib${lib}.so 
 | 
	
		
			
				|  |  | +    echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
 | 
	
		
			
				|  |  | +    ln -sfv lib${lib}w.a      /usr/lib/lib${lib}.a
 | 
	
		
			
				|  |  | +    ln -sfv ${lib}w.pc        /usr/lib/pkgconfig/${lib}.pc
 | 
	
		
			
				|  |  |  done
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
 | 
	
	
		
			
				|  | @@ -149,8 +148,11 @@ cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen>
 | 
	
		
			
				|  |  |        the package again with the following commands:</para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <screen role="nodump"><userinput>make distclean
 | 
	
		
			
				|  |  | -./configure --prefix=/usr --with-shared --without-normal \
 | 
	
		
			
				|  |  | -  --without-debug --without-cxx-binding
 | 
	
		
			
				|  |  | +./configure --prefix=/usr    \
 | 
	
		
			
				|  |  | +            --with-shared    \
 | 
	
		
			
				|  |  | +            --without-normal \
 | 
	
		
			
				|  |  | +            --without-debug  \
 | 
	
		
			
				|  |  | +            --without-cxx-binding
 | 
	
		
			
				|  |  |  make sources libs
 | 
	
		
			
				|  |  |  cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
 | 
	
		
			
				|  |  |      </note>
 |