From 8503536d3896846d823f7f76be54e0a99da8d8b6 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Thu, 23 Feb 2006 10:40:44 +0000 Subject: Conversion to a single libtool environment. Approved by: portmgr (kris) --- audio/liba52/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'audio/liba52') diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile index 1831debcf532..1b6de646dbbb 100644 --- a/audio/liba52/Makefile +++ b/audio/liba52/Makefile @@ -19,7 +19,6 @@ USE_GMAKE= yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-oss --enable-shared -USE_AUTOTOOLS= libtool:13 INSTALLS_SHLIB= yes .if !defined(WITHOUT_DJBFFT) && !defined(PACKAGE_BUILDING) @@ -31,6 +30,12 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ CONFIGURE_ARGS+= --enable-djbfft .endif +.include + +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + MAN1= a52dec.1 extract_a52.1 HEADER_FILES= liba52/a52_internal.h @@ -58,9 +63,6 @@ post-patch: @${REINPLACE_CMD} -E -e 's|(fftc4.h)|djbfft/\1|' ${WRKSRC}/liba52/imdct.c .endif -post-configure: - @${LN} -sf ${LIBTOOL} ${WRKSRC}/libtool - post-install: .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -70,4 +72,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/a52dec .endfor -.include +.include -- cgit v1.2.3