svn commit: r348664 - head/net/openh323
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Mar 20 07:32:57 UTC 2014
Author: ehaupt
Date: Thu Mar 20 07:32:56 2014
New Revision: 348664
URL: http://svnweb.freebsd.org/changeset/ports/348664
QAT: https://qat.redports.org/buildarchive/r348664/
Log:
- 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
Modified:
head/net/openh323/Makefile
head/net/openh323/pkg-plist
Modified: head/net/openh323/Makefile
==============================================================================
--- head/net/openh323/Makefile Thu Mar 20 07:15:53 2014 (r348663)
+++ head/net/openh323/Makefile Thu Mar 20 07:32:56 2014 (r348664)
@@ -13,12 +13,12 @@ DIST_SUBDIR= openh323
MAINTAINER= ports at 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${WR
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>
Modified: head/net/openh323/pkg-plist
==============================================================================
--- head/net/openh323/pkg-plist Thu Mar 20 07:15:53 2014 (r348663)
+++ head/net/openh323/pkg-plist Thu Mar 20 07:32:56 2014 (r348664)
@@ -88,3 +88,4 @@ lib/pwlib/codecs/audio/lpc10_audio_pwplu
lib/pwlib/codecs/audio/speex_audio_pwplugin.so
@dirrm lib/pwlib/codecs/audio
@dirrm lib/pwlib/codecs
+ at dirrmtry lib/pwlib
More information about the svn-ports-all
mailing list