aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdca
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-08-28 22:42:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-08-28 22:42:30 +0000
commit7d63e53c1503abc2b5c7b255d3129bcb1841f038 (patch)
treebe895e12161a230e7845b616a8f21cdf924f22f4 /multimedia/libdca
parent940da0dc4a25d0ba7fe5face6ba5bace3973dda7 (diff)
downloadports-7d63e53c1503abc2b5c7b255d3129bcb1841f038.tar.gz
ports-7d63e53c1503abc2b5c7b255d3129bcb1841f038.zip
Notes
Diffstat (limited to 'multimedia/libdca')
-rw-r--r--multimedia/libdca/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/libdca/Makefile b/multimedia/libdca/Makefile
index 1e171157b788..4df7e8c6b801 100644
--- a/multimedia/libdca/Makefile
+++ b/multimedia/libdca/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libdts
PORTVERSION= 0.0.2
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://debian.unnet.nl/pub/videolan/libdts/${PORTVERSION}/ \
http://download.videolan.org/pub/videolan/libdts/${PORTVERSION}/
@@ -19,4 +20,11 @@ USE_GNOME= pkgconfig gnomehack
MAN1= dtsdec.1 extract_dts.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldts|ldts_pic|' ${WRKSRC}/libdts/libdts.pc.in
+.endif
+
+.include <bsd.port.post.mk>