Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Libraries outside of ${D}
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
no usernames left
n00b
n00b


Joined: 09 Feb 2003
Posts: 72

PostPosted: Mon Jun 16, 2003 3:47 pm    Post subject: Libraries outside of ${D} Reply with quote

OK, while trying to create an ebuild I ran into the following problem. The makefile (Makefile.am) lists some other libraries which should get linked with the new library, like this:

Code:
libFastTrack_la_LIBADD = \
        $(prefix)/lib/libgift.la \
        $(prefix)/lib/libgiftproto.la


Unfortunately the ebuild fails at compile time because it searches in ${D}/usr/lib/ instead of /usr/lib/. Is there some way around this problem (or, if it's no problem at all, am I retarded)?
_________________
[img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59]
Back to top
View user's profile Send private message
no usernames left
n00b
n00b


Joined: 09 Feb 2003
Posts: 72

PostPosted: Wed Jun 18, 2003 2:24 pm    Post subject: Reply with quote

Bump :roll:
_________________
[img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59]
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Thu Jun 19, 2003 4:29 pm    Post subject: Reply with quote

I was hoping someone else would have a good answer so I wouldn't have to post this ugly kludge:

Code:
dosed "s:\$(prefix)::g" Makefile.am


Or if you don't want to change all $(prefix) lines:

Code:
dosed "s:\$(prefix)/lib/libgift:/usr/lib/libgift:g" Makefile.am


Maybe you can post your ebuild so we can find a more elegant solution.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum