From 024b1231b988db7a093a1ad9abd96d2f40d9825f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 6 May 2014 06:57:32 +0000 Subject: [PATCH] Convert to USES=libtool --- audio/liba52/Makefile | 14 ++++++-------- audio/liba52/pkg-plist | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile index c76e9f02e973..65ada340b481 100644 --- a/audio/liba52/Makefile +++ b/audio/liba52/Makefile @@ -14,8 +14,7 @@ COMMENT= Free library for decoding ATSC A/52 streams, aka AC-3 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USE_AUTOTOOLS= libtool -USES= gmake +USES= gmake libtool:keepla GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-oss --enable-shared USE_LDCONFIG= yes @@ -29,11 +28,10 @@ DJBFFT_CFLAGS= -I${LOCALBASE}/include DJBFFT_LDFLAGS= -L${LOCALBASE}/lib DJBFFT_CONFIGURE_ON= --enable-djbfft -.include +.include -.if ${ARCH} == "amd64" || ${ARCH} == "powerpc" -CFLAGS+= -fPIC -.endif +CFLAGS_amd64= -fPIC +CFLAGS_powerpc= -fPIC HEADER_FILES= liba52/a52_internal.h @@ -50,6 +48,6 @@ post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/liba52.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/liba52/a52_internal.h ${STAGEDIR}${PREFIX}/include/a52dec - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liba52.so.0 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liba52.so.0.* -.include +.include diff --git a/audio/liba52/pkg-plist b/audio/liba52/pkg-plist index f9f478677123..fb041a497eda 100644 --- a/audio/liba52/pkg-plist +++ b/audio/liba52/pkg-plist @@ -5,6 +5,7 @@ include/a52dec/a52_internal.h include/a52dec/attributes.h include/a52dec/audio_out.h include/a52dec/mm_accel.h +lib/liba52.so.0.0.0 lib/liba52.so.0 lib/liba52.so lib/liba52.la