From 0bb494790668138bb3fc7d7d659e5dd1e8111418 Mon Sep 17 00:00:00 2001 From: linimon Date: Thu, 20 Dec 2018 06:18:56 +0000 Subject: USES=compiler:c11 is necessary to build on GCC-based architectures. While here, add ldflags to simplify Makefile. PR: 233928 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) --- devel/ptlib/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'devel') diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile index a44aa3b92cd1..f9a086e4b98b 100644 --- a/devel/ptlib/Makefile +++ b/devel/ptlib/Makefile @@ -16,11 +16,12 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 CONFLICTS= pwlib-1.* -USES= autoreconf:build bison gmake pathfix pkgconfig ssl tar:xz +USES= autoreconf:build bison compiler:c11 gmake localbase:ldflags \ + pathfix pkgconfig ssl tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes -CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include -LDFLAGS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib +CPPFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} CONFIGURE_ARGS+=--enable-audio \ --enable-ipv6 \ -- cgit