aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-04-20 09:53:46 +0800
committerijliao <ijliao@FreeBSD.org>2006-04-20 09:53:46 +0800
commit72b3ea9dcf3cc99fa4623b92f510a5b1693222e3 (patch)
treec673dbce70028ccc5cc16d2e0962a5563fe8b0f5 /devel
parent1e605bf240fe0214d1e4c89b4bcae5a06bf973da (diff)
downloadfreebsd-ports-gnome-72b3ea9dcf3cc99fa4623b92f510a5b1693222e3.tar.gz
freebsd-ports-gnome-72b3ea9dcf3cc99fa4623b92f510a5b1693222e3.tar.zst
freebsd-ports-gnome-72b3ea9dcf3cc99fa4623b92f510a5b1693222e3.zip
Patches:
- fixed build error on 4.x - patched lib/pkgconfig/jrtplib.pc to libdata/pkgconfig/jrtplib.pc - added missing libdata/pkgconfig/jrtplib.pc in pkg-plist PR: 96033 Submitted by: Yi-Huan Chan <yhchan@csie.nctu.edu.tw> Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/jrtplib/Makefile5
-rw-r--r--devel/jrtplib/files/patch-src-rtperrors.h10
-rw-r--r--devel/jrtplib/pkg-plist1
3 files changed, 16 insertions, 0 deletions
diff --git a/devel/jrtplib/Makefile b/devel/jrtplib/Makefile
index 3fd1acf1b97d..bc037bbc3525 100644
--- a/devel/jrtplib/Makefile
+++ b/devel/jrtplib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jrtplib
PORTVERSION= 3.5.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://research.edm.luc.ac.be/jori/jrtplib/
@@ -20,4 +21,8 @@ NO_FILTER_SHLIBS= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-jthread
+post-patch:
+ @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/pkgconfig/Makefile.in
+
.include <bsd.port.mk>
diff --git a/devel/jrtplib/files/patch-src-rtperrors.h b/devel/jrtplib/files/patch-src-rtperrors.h
new file mode 100644
index 000000000000..491c0abc06c6
--- /dev/null
+++ b/devel/jrtplib/files/patch-src-rtperrors.h
@@ -0,0 +1,10 @@
+--- src/rtperrors.h Tue Feb 21 17:31:13 2006
++++ src/rtperrors.h Sun Apr 16 20:46:09 2006
+@@ -34,6 +34,7 @@
+
+ #define RTPERRORS_H
+
++#include <stdio.h>
+ #include <string>
+
+ std::string RTPGetErrorString(int errcode);
diff --git a/devel/jrtplib/pkg-plist b/devel/jrtplib/pkg-plist
index 4fc256f74e6c..b5b839182fd1 100644
--- a/devel/jrtplib/pkg-plist
+++ b/devel/jrtplib/pkg-plist
@@ -49,4 +49,5 @@ lib/libjrtp-3.5.2.so
lib/libjrtp.a
lib/libjrtp.la
lib/libjrtp.so
+libdata/pkgconfig/jrtplib.pc
@dirrm include/jrtplib3