diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2006-12-20 03:40:10 +0800 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2006-12-20 03:40:10 +0800 |
commit | 4cc4990180f99bba0b0c3d1e5f2822e81b7440e3 (patch) | |
tree | be4ab398b9d30226ad000dd9dc5822cc9668b92c | |
parent | 939029b1e75f190bc9eb21efd7f2847b8d178b97 (diff) | |
download | freebsd-ports-gnome-4cc4990180f99bba0b0c3d1e5f2822e81b7440e3.tar.gz freebsd-ports-gnome-4cc4990180f99bba0b0c3d1e5f2822e81b7440e3.tar.zst freebsd-ports-gnome-4cc4990180f99bba0b0c3d1e5f2822e81b7440e3.zip |
Those who would give up essential linkability to purchase a little plat-
form specific optimization, ...
(Disable asm code, thus make compilable with gcc 2.95 on 4.x so C++
programs on 4.x can link to the shared library).
-rw-r--r-- | multimedia/libtheora/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile index aa4e7340870e..4a0ce896b0e8 100644 --- a/multimedia/libtheora/Makefile +++ b/multimedia/libtheora/Makefile @@ -17,18 +17,23 @@ COMMENT= Theora video codec for the Ogg multimedia streaming system LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis USE_BZIP2= yes -USE_GCC= 3.4+ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include " \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="${PTHEAD_LIBS}" -CONFIGURE_ARGS= --disable-sdltest \ +CONFIGURE_ARGS+=--disable-sdltest \ --enable-shared +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +CONFIGURE_ARGS+=--disable-asm +.endif + post-patch: @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/examples/Makefile.in @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |