--- Makefile.orig 2014-07-14 07:21:58 UTC +++ Makefile @@ -124,7 +124,7 @@ install: for d in pjlib pjlib-util pjnath pjmedia pjsip; do \ cp -RLf $$d/include/* $(DESTDIR)$(includedir)/; \ done - mkdir -p $(DESTDIR)$(libdir)/pkgconfig + mkdir -p $(DESTDIR)$(prefix)/libdata/pkgconfig sed -e "s!@PREFIX@!$(prefix)!" libpjproject.pc.in | \ sed -e "s!@INCLUDEDIR@!$(includedir)!" | \ sed -e "s!@LIBDIR@!$(libdir)!" | \ @@ -132,11 +132,11 @@ install: sed -e "s!@PJ_LDLIBS@!!" | \ sed -e "s!@PJ_LDXXLIBS@!$(PJ_LDXXLIBS)!" | \ sed -e "s!@PJ_INSTALL_CFLAGS@!!" | \ - sed -e "s!@PJ_INSTALL_CXXFLAGS@!$(PJ_INSTALL_CXXFLAGS)!" > $(DESTDIR)/$(libdir)/pkgconfig/libpjproject.pc + sed -e "s!@PJ_INSTALL_CXXFLAGS@!$(PJ_INSTALL_CXXFLAGS)!" > $(DESTDIR)/$(prefix)/libdata/pkgconfig/libpjproject.pc uninstall: - $(RM) $(DESTDIR)$(libdir)/pkgconfig/libpjproject.pc - -rmdir $(DESTDIR)$(libdir)/pkgconfig 2> /dev/null + $(RM) $(DESTDIR)$(prefix)/libdata/pkgconfig/libpjproject.pc + -rmdir $(DESTDIR)$(prefix)/libdata/pkgconfig 2> /dev/null for d in pjlib pjlib-util pjnath pjmedia pjsip; do \ for f in $$d/include/*; do \ $(RM) -r "$(DESTDIR)$(includedir)/`basename $$f`"; \