aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-07-15 09:46:12 +0800
committershaun <shaun@FreeBSD.org>2006-07-15 09:46:12 +0800
commit227fafe201c8bcdbb6692d4dcb1cfc97d039c44d (patch)
tree2156a1145668ea324daf3103d549bc742fd8131f
parent803f73f08191066d1c315db50645e98278489f97 (diff)
downloadfreebsd-ports-gnome-227fafe201c8bcdbb6692d4dcb1cfc97d039c44d.tar.gz
freebsd-ports-gnome-227fafe201c8bcdbb6692d4dcb1cfc97d039c44d.tar.zst
freebsd-ports-gnome-227fafe201c8bcdbb6692d4dcb1cfc97d039c44d.zip
Add missing devel/readline dependency where required. This will allow
the port to build on 4.x, once the libosip2 issue has been resolved. PR: ports/97279 Submitted by: shaun (me) Approved by: ahze (mentor, implicit)
-rw-r--r--net/linphone-base/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/linphone-base/Makefile b/net/linphone-base/Makefile
index 557a432430f4..a8a36b13bb27 100644
--- a/net/linphone-base/Makefile
+++ b/net/linphone-base/Makefile
@@ -48,6 +48,10 @@ LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include "Makefile.common"
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 600000
+LIB_DEPENDS+= readline.[5-9]:${PORTSDIR}/devel/readline
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/oRTP/Makefile.in