[bug #48348] gnustep-config doesn't do what I want

Stef <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
Follow-up Comment #4, bug #48348 (project gnustep):

Providing a pkg-config file could work, but it does have to make a few
assumptions. See the attached patch for what I came up with. It currently
doesn't install because it would require a patch to GNUstep-make, too. In
particular, GNUstep would need to identify when installing to the fhs
filesystem layout in order to put this file in a location searched for
pkg-config (ie the output of "pkg-config --variable pc_path pkg-config"). If
not, GNUstep.sh would need to also define $PKG_CONFIG_PATH.

Seems like a reasonable solution, but pkg-config hard-codes where libraries
and such go and GNUstep-make does not. GNUstep-make always checks GNUstep.conf
for were to install and look for libraries, something the .pc file will never
be able to do because pkg-config does not have this type of functionality.

(file #37741)
    _______________________________________________________

Additional Item Attachment:

File name: gnustep-base.pc.diff           Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48348>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.