From owner-svn-ports-head@freebsd.org Mon Jul 6 17:10:08 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AAEFA36C7BC; Mon, 6 Jul 2020 17:10:08 +0000 (UTC) (envelope-from naddy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0sWh44RLz4JT6; Mon, 6 Jul 2020 17:10:08 +0000 (UTC) (envelope-from naddy@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 6FE5E21A27; Mon, 6 Jul 2020 17:10:08 +0000 (UTC) (envelope-from naddy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 066HA8s7006938; Mon, 6 Jul 2020 17:10:08 GMT (envelope-from naddy@FreeBSD.org) Received: (from naddy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 066HA8TI006937; Mon, 6 Jul 2020 17:10:08 GMT (envelope-from naddy@FreeBSD.org) Message-Id: <202007061710.066HA8TI006937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: naddy set sender to naddy@FreeBSD.org using -f From: Christian Weisgerber Date: Mon, 6 Jul 2020 17:10:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541352 - head/audio/libvorbis X-SVN-Group: ports-head X-SVN-Commit-Author: naddy X-SVN-Commit-Paths: head/audio/libvorbis X-SVN-Commit-Revision: 541352 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.33 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: Mon, 06 Jul 2020 17:10:08 -0000 Author: naddy Date: Mon Jul 6 17:10:08 2020 New Revision: 541352 URL: https://svnweb.freebsd.org/changeset/ports/541352 Log: Use the libtool script from devel/libtool. The included libtool appears to be broken and loses the -lm dependency_lib, so libvorbisenc and libvorbisfile did not get linked with -lm. PR: 247799 Modified: head/audio/libvorbis/Makefile Modified: head/audio/libvorbis/Makefile ============================================================================== --- head/audio/libvorbis/Makefile Mon Jul 6 17:02:32 2020 (r541351) +++ head/audio/libvorbis/Makefile Mon Jul 6 17:10:08 2020 (r541352) @@ -3,6 +3,7 @@ PORTNAME= libvorbis PORTVERSION= 1.3.7 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= audio MASTER_SITES= https://downloads.xiph.org/releases/vorbis/ \ @@ -16,11 +17,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:audio/libogg -USES= libtool pathfix tar:xz +# The included libtool is broken and loses the -lm dependency_lib. +USES= libtool:build pathfix tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ogg=${LOCALBASE} +MAKE_ARGS= LIBTOOL=${PREFIX}/bin/libtool INSTALL_TARGET= install-strip TEST_TARGET= check