1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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
This commit is contained in:
Christian Weisgerber 2020-07-06 17:10:08 +00:00
parent addfda81a9
commit 02b776df38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541352

View File

@ -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