From owner-svn-ports-head@freebsd.org Sat Jul 7 14:14:07 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E383102480C; Sat, 7 Jul 2018 14:14:07 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1B4879006; Sat, 7 Jul 2018 14:14:06 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 941A618756; Sat, 7 Jul 2018 14:14:06 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w67EE61h051848; Sat, 7 Jul 2018 14:14:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w67EE6KZ051847; Sat, 7 Jul 2018 14:14:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201807071414.w67EE6KZ051847@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 7 Jul 2018 14:14:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474087 - head/audio/osalp X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/audio/osalp X-SVN-Commit-Revision: 474087 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2018 14:14:07 -0000 Author: amdmi3 Date: Sat Jul 7 14:14:06 2018 New Revision: 474087 URL: https://svnweb.freebsd.org/changeset/ports/474087 Log: - Switch to USES=localbase - Fix build with clang 6 - Cosmetic fixes Modified: head/audio/osalp/Makefile Modified: head/audio/osalp/Makefile ============================================================================== --- head/audio/osalp/Makefile Sat Jul 7 13:52:59 2018 (r474086) +++ head/audio/osalp/Makefile Sat Jul 7 14:14:06 2018 (r474087) @@ -14,13 +14,13 @@ RUN_DEPENDS= mpg123:audio/mpg123 LIB_DEPENDS= libmp3lame.so:audio/lame \ libvorbis.so:audio/libvorbis -USES= libtool +USES= libtool localbase:ldflags GNU_CONFIGURE= yes -CFLAGS+= -fPIC -DPIC -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-all +CFLAGS+= -fPIC -DPIC +CXXFLAGS+= -Wno-c++11-narrowing + USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} @@ -28,14 +28,14 @@ PLIST_SUB= VERSION=${PORTVERSION} CONFLICTS= libaudiofile-[0-9]* post-patch: - ${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \ + @${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \ 's|iostream.h|iostream|; \ s|[[:space:]]cout| std::cout|g; \ s|[[:space:]]endl| std::endl|g; \ s|[[:space:]]cerr| std::cerr|g;' post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \ + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \ ${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so .include