pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ortp ortp: Use C99 and additional defines to fix S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/693296aaeec3
branches:  trunk
changeset: 385135:693296aaeec3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 13 12:10:03 2018 +0000

description:
ortp: Use C99 and additional defines to fix SunOS.

Also add dependency on OpenSSL.  The package checks for it and will use it
if found, but has build issues if not available via bl3.  Bump PKGREVISION.

diffstat:

 net/ortp/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 62dd8defc755 -r 693296aaeec3 net/ortp/Makefile
--- a/net/ortp/Makefile Thu Sep 13 10:58:58 2018 +0000
+++ b/net/ortp/Makefile Thu Sep 13 12:10:03 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2015/06/08 13:43:45 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2018/09/13 12:10:03 jperkin Exp $
 #
 
 DISTNAME=      ortp-0.16.1
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    net
 MASTER_SITES=  http://download.savannah.nongnu.org/releases/linphone/ortp/sources/
 
@@ -12,13 +12,18 @@
 LICENSE=       gnu-lgpl-v2.1
 
 GNU_CONFIGURE= yes
+USE_LANGUAGES= c99
 USE_LIBTOOL=   yes
 
 CONFIGURE_ENV+=        ac_cv_path_DOXYGEN=false
 PKGCONFIG_OVERRIDE+=   ortp.pc.in
 
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -DBSD_COMP
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
 .include "options.mk"
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index