Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27022

Summary: libnet-config-1.1 reports bad values for --libs (and possibly --cflags)
Product: Gentoo Linux Reporter: David M. Andersen <dma>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild that contains lines to change the output of libnet-config-1.1
ebuild that contains lines to change the output of libnet-config-1.1

Description David M. Andersen 2003-08-20 18:03:44 UTC
I've made a small update to the ebuild to make --libs return -lnet1.1 (or 
whatever the SLOT tells it to use).

I've also set --cflags to return -I/usr/include/libnet-1.1 (also according to 
the SLOT).

This seems to give better functionality.



Reproducible: Always
Steps to Reproduce:
1. libnet-config-1.1 --libs --cflags
2.
3.

Actual Results:  
# libnet-config-1.1 --libs --cflags
-lnet


Expected Results:  
# libnet-config-1.1 --libs --cflags
-lnet1.1
-I/usr/include/libnet-1.1


Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(TM) XP 2200+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ 
mad mikmod mmx mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib 
alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile ruby 
mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis 
gtk qt kde motif opengl mozilla ldap snmp acl acpi acpi4linux afs cjk curl dga 
dvb dvd flash freetype gd-bundled glut gtk2 gtkhtml innodb ipv6 jikes kerberos 
mbox mozinterfaceinfo mozsvg mozxmlterm odbc rage128 samba sse threads tiff usb 
wmf xfs xml -quicktime faad -apache2 lcms krb4 mozaccess mozcalendar mozp3p"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -
fprefetch-loop-arrays -msse -m3dnow -falign-functions=4 -mfpmath=sse,387"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
Comment 1 David M. Andersen 2003-08-20 18:06:23 UTC
Created attachment 16398 [details]
ebuild that contains lines to change the output of libnet-config-1.1

This ebuild would need to be updated:
* net-analyzer/packit-0.6.0c
Comment 2 David M. Andersen 2003-08-20 18:06:59 UTC
Created attachment 16399 [details]
ebuild that contains lines to change the output of libnet-config-1.1

This ebuild would need to be updated:
* net-analyzer/packit-0.6.0c
Comment 3 SpanKY gentoo-dev 2003-08-20 18:09:38 UTC

*** This bug has been marked as a duplicate of 17772 ***