From owner-svn-ports-all@freebsd.org Thu May 3 14:48:41 2018 Return-Path: Delivered-To: svn-ports-all@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 5CDC3FAD8FD; Thu, 3 May 2018 14:48:41 +0000 (UTC) (envelope-from jbeich@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 0B456718D8; Thu, 3 May 2018 14:48:41 +0000 (UTC) (envelope-from jbeich@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 0358921338; Thu, 3 May 2018 14:48:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w43Emen0018156; Thu, 3 May 2018 14:48:40 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w43EmeMW018154; Thu, 3 May 2018 14:48:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201805031448.w43EmeMW018154@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 3 May 2018 14:48:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r468932 - in branches/2018Q2/audio/flite: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2018Q2/audio/flite: . files X-SVN-Commit-Revision: 468932 X-SVN-Commit-Repository: ports 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.25 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: Thu, 03 May 2018 14:48:41 -0000 Author: jbeich Date: Thu May 3 14:48:40 2018 New Revision: 468932 URL: https://svnweb.freebsd.org/changeset/ports/468932 Log: MFH: r468931 audio/flite: link shared libs against libm $ echo 'int main() {}' | cc -xc - -lflite -L/usr/local/lib /usr/local/lib/libflite.so: undefined reference to `log' /usr/local/lib/libflite.so: undefined reference to `fmod' /usr/local/lib/libflite.so: undefined reference to `exp' /usr/local/lib/libflite.so: undefined reference to `sin' /usr/local/lib/libflite.so: undefined reference to `pow' cc: error: linker command failed with exit code 1 (use -v to see invocation) Reported by: mat (via ffmpeg) Obtained from: Debian Approved by: ports-secteam blanket Added: branches/2018Q2/audio/flite/files/patch-shlib_deps - copied unchanged from r468931, head/audio/flite/files/patch-shlib_deps Modified: branches/2018Q2/audio/flite/Makefile Directory Properties: branches/2018Q2/ (props changed) Modified: branches/2018Q2/audio/flite/Makefile ============================================================================== --- branches/2018Q2/audio/flite/Makefile Thu May 3 14:47:57 2018 (r468931) +++ branches/2018Q2/audio/flite/Makefile Thu May 3 14:48:40 2018 (r468932) @@ -3,7 +3,7 @@ PORTNAME= flite PORTVERSION= 1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.speech.cs.cmu.edu/flite/packed/${PORTNAME}-${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-release Copied: branches/2018Q2/audio/flite/files/patch-shlib_deps (from r468931, head/audio/flite/files/patch-shlib_deps) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q2/audio/flite/files/patch-shlib_deps Thu May 3 14:48:40 2018 (r468932, copy of r468931, head/audio/flite/files/patch-shlib_deps) @@ -0,0 +1,14 @@ +Respect LDFLAGS in shared libraries +https://bugs.debian.org/577335 + +--- config/common_make_rules.orig 2009-07-30 14:52:56 UTC ++++ config/common_make_rules +@@ -123,7 +123,7 @@ $(LIBDIR)/%.so: $(LIBDIR)/%.shared.a + @ rm -rf shared_os.$* && mkdir shared_os.$* + @ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION} + @ (cd shared_os.$* && ar x ../$<) +- @ (cd shared_os.$* && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os) ++ @ (cd shared_os.$* && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os $(LDFLAGS)) + @ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` ) + @ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` ) + @ rm -rf shared_os.$*