From owner-svn-ports-all@FreeBSD.ORG Fri Jul 5 08:09:45 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4248D102; Fri, 5 Jul 2013 08:09:45 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD4A199B; Fri, 5 Jul 2013 08:09:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6589iG5045272; Fri, 5 Jul 2013 08:09:44 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6589inh045270; Fri, 5 Jul 2013 08:09:44 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201307050809.r6589inh045270@svn.freebsd.org> From: Tijl Coosemans Date: Fri, 5 Jul 2013 08:09:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322315 - in head/net/appkonference: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2013 08:09:45 -0000 Author: tijl Date: Fri Jul 5 08:09:44 2013 New Revision: 322315 URL: http://svnweb.freebsd.org/changeset/ports/322315 Log: Fix build with clang (USE_CSTD=gnu89) and respect CFLAGS, CPPFLAGS and LDFLAGS. Approved by: maintainer timeout (20 days) Modified: head/net/appkonference/Makefile head/net/appkonference/files/patch-Makefile Directory Properties: head/net/appkonference/pkg-descr (props changed) Modified: head/net/appkonference/Makefile ============================================================================== --- head/net/appkonference/Makefile Fri Jul 5 07:54:03 2013 (r322314) +++ head/net/appkonference/Makefile Fri Jul 5 08:09:44 2013 (r322315) @@ -16,6 +16,7 @@ COMMENT= High-performance Asterisk voice BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk +USE_CSTD= gnu89 USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME}/konference Modified: head/net/appkonference/files/patch-Makefile ============================================================================== --- head/net/appkonference/files/patch-Makefile Fri Jul 5 07:54:03 2013 (r322314) +++ head/net/appkonference/files/patch-Makefile Fri Jul 5 08:09:44 2013 (r322315) @@ -27,3 +27,30 @@ # module release RELEASE = 2.1 +@@ -86,7 +86,7 @@ + # compiler flags + # + +-CFLAGS = -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MD -MP $(DEBUG) ++CFLAGS += -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MD -MP $(DEBUG) + #CFLAGS += -O3 -march=pentium3 -msse -mfpmath=sse,387 -ffast-math + # PERF: below is 10% faster than -O2 or -O3 alone. + #CFLAGS += -O3 -ffast-math -funroll-loops +@@ -103,7 +103,7 @@ + # preprocessor flags + # + +-CPPFLAGS = $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE ++CPPFLAGS += $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE + CPPFLAGS += -DRELEASE=\"$(RELEASE)\" + CPPFLAGS += -DASTERISK=$(ASTERISK) + CPPFLAGS += -DCHANNEL_TABLE_SIZE=$(CHANNEL_TABLE_SIZE) +@@ -182,7 +182,7 @@ + $(OBJS): $(INCS) + + $(TARGET): $(OBJS) +- $(CC) $(SOLINK) -o $@ $(OBJS) ++ $(CC) $(LDFLAGS) $(SOLINK) -o $@ $(OBJS) + + install: + $(INSTALL) -m 755 $(TARGET) $(INSTALL_MODULES_DIR)