aboutsummaryrefslogtreecommitdiff
path: root/devel/jrtplib
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2006-04-20 01:53:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2006-04-20 01:53:46 +0000
commit440c930247399427227890d8d8016e606ee05214 (patch)
tree98b3a55c837a4f28559a9963d7e2da451ed0604a /devel/jrtplib
parent17c17425f1de6f94304d5b6cf46b6e94e0952d1c (diff)
Notes
Diffstat (limited to 'devel/jrtplib')
-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