aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/x264/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-01-14 10:51:50 +0800
committerahze <ahze@FreeBSD.org>2006-01-14 10:51:50 +0800
commitbc88850bab051b9b79ca7cfe74e8c8f80be9d15c (patch)
tree7ea0caefa404c76a9098f3759700b5785bdbdedb /multimedia/x264/Makefile
parentd5bf67e546c04bfd0fa79f1405fa6aec55a30c33 (diff)
downloadfreebsd-ports-gnome-bc88850bab051b9b79ca7cfe74e8c8f80be9d15c.tar.gz
freebsd-ports-gnome-bc88850bab051b9b79ca7cfe74e8c8f80be9d15c.tar.zst
freebsd-ports-gnome-bc88850bab051b9b79ca7cfe74e8c8f80be9d15c.zip
- Update to 0.0.20060112
Diffstat (limited to 'multimedia/x264/Makefile')
-rw-r--r--multimedia/x264/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index 47989d78a714..a3c4ec04ebce 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= x264
-PORTVERSION= 0.0.20051228
+PORTVERSION= 0.0.20060112
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
@@ -38,7 +38,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"
-# --enable-pthread
.include <bsd.port.pre.mk>
@@ -70,6 +69,10 @@ CONFIGURE_ARGS+= --enable-visualize
USE_XLIB= yes
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
+ ${WRKSRC}/configure
+
pre-install:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/x264.pc