aboutsummaryrefslogtreecommitdiff
path: root/audio/liba52
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2006-02-23 10:40:44 +0000
committerAde Lovett <ade@FreeBSD.org>2006-02-23 10:40:44 +0000
commit8503536d3896846d823f7f76be54e0a99da8d8b6 (patch)
tree1a89e4038216ead71b008f2a5091474964e1c341 /audio/liba52
parentc20d04e3929dbe1763fc1dfaaa677c2353cd7883 (diff)
downloadports-8503536d3896846d823f7f76be54e0a99da8d8b6.tar.gz
ports-8503536d3896846d823f7f76be54e0a99da8d8b6.zip
Notes
Diffstat (limited to 'audio/liba52')
-rw-r--r--audio/liba52/Makefile12
1 files changed, 7 insertions, 5 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>