aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/x264/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-05-22 09:37:16 +0800
committerahze <ahze@FreeBSD.org>2006-05-22 09:37:16 +0800
commitdb6ea29a3304bfd7946f59956d52bf0264683a61 (patch)
tree7551502fa53bd3a04367326eb777555843cd5e77 /multimedia/x264/Makefile
parentdcd1850aef2d01d415a02f78694f126f2dd48082 (diff)
downloadfreebsd-ports-gnome-db6ea29a3304bfd7946f59956d52bf0264683a61.tar.gz
freebsd-ports-gnome-db6ea29a3304bfd7946f59956d52bf0264683a61.tar.zst
freebsd-ports-gnome-db6ea29a3304bfd7946f59956d52bf0264683a61.zip
- Update to 0.0.20060521
- Enable pthreads
Diffstat (limited to 'multimedia/x264/Makefile')
-rw-r--r--multimedia/x264/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index e510563b6d62..88d2fa04857f 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= x264
-PORTVERSION= 0.0.20060509
+PORTVERSION= 0.0.20060521
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
@@ -36,7 +36,6 @@ OPTIONS= GPAC "Enable MPEG-4 Output" On \
CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
--extra-ldflags="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \
- --disable-pthread \
--enable-shared
.include <bsd.port.pre.mk>
@@ -72,7 +71,8 @@ USE_XLIB= yes
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
+ s|-lpthread|${PTHREAD_LIBS}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile