1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/pjsip/files/patch-Makefile
Guido Falsi 1305d65ff1 PJSIP is a free and open source multimedia communication library
written in C language implementing standard based protocols such
as SIP, SDP, RTP, STUN, TURN, and ICE. It combines signaling protocol
(SIP) with rich multimedia framework and NAT traversal functionality
into high level API that is portable and suitable for almost any
type of systems ranging from desktops, embedded systems, to mobile
handsets.

WWW: http://www.pjsip.org/

Please note that default options are tailored for use by the upcoming
asterisk13 port.
2014-12-15 14:42:32 +00:00

27 lines
1.2 KiB
Plaintext

--- 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`"; \