diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-20 15:32:56 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-20 15:32:56 +0800 |
commit | eac84e685080011fb29ef96b7c0abc1243efe80b (patch) | |
tree | 990d819a8578eee6165c1601e215b23e9a9aa663 /net | |
parent | 8da0bbcce3737978a53ef6c30521c57b220ee947 (diff) | |
download | freebsd-ports-gnome-eac84e685080011fb29ef96b7c0abc1243efe80b.tar.gz freebsd-ports-gnome-eac84e685080011fb29ef96b7c0abc1243efe80b.tar.zst freebsd-ports-gnome-eac84e685080011fb29ef96b7c0abc1243efe80b.zip |
- Support staging
- USES -> gmake
- This port does not build with clang, therefore use GCC and hereby fix this
port on 10.x (port is crucial for net/asterisk)
- Strip shared objects
- New LIB_DEPENDS definition
Diffstat (limited to 'net')
-rw-r--r-- | net/openh323/Makefile | 15 | ||||
-rw-r--r-- | net/openh323/pkg-plist | 1 |
2 files changed, 10 insertions, 6 deletions
diff --git a/net/openh323/Makefile b/net/openh323/Makefile index e98e21bfa789..7a6091918561 100644 --- a/net/openh323/Makefile +++ b/net/openh323/Makefile @@ -13,12 +13,12 @@ DIST_SUBDIR= openh323 MAINTAINER= ports@FreeBSD.org COMMENT= A H323 Video Conferencing library -LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib +LIB_DEPENDS= libpt_r.so:${PORTSDIR}/devel/pwlib WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g} -USES= bison -USE_GMAKE= yes +USES= bison gmake +USE_GCC= yes USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -29,16 +29,15 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${WRKSRC}/include LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV= BUILDTIME="YES" -NO_STAGE= yes .include <bsd.port.pre.mk> .ifdef (WITH_FFMPEG) -LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg +LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg CONFIGURE_ARGS+= --enable-rfc2190avcodec=${LOCALBASE}/include/ffmpeg .endif .ifdef (WITH_SPEEX) -LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex +LIB_DEPENDS+= libspeex.so:${PORTSDIR}/audio/speex CONFIGURE_ARGS+= --enable-localspeex=no .else CONFIGURE_ARGS+= --enable-localspeex=yes @@ -52,4 +51,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/configure.ac +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libh323_r.so.1 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pwlib/codecs/audio/*.so + .include <bsd.port.post.mk> diff --git a/net/openh323/pkg-plist b/net/openh323/pkg-plist index fde845ac0e93..ae232c5b69ab 100644 --- a/net/openh323/pkg-plist +++ b/net/openh323/pkg-plist @@ -88,3 +88,4 @@ lib/pwlib/codecs/audio/lpc10_audio_pwplugin.so lib/pwlib/codecs/audio/speex_audio_pwplugin.so @dirrm lib/pwlib/codecs/audio @dirrm lib/pwlib/codecs +@dirrmtry lib/pwlib |