Date: Fri, 29 Dec 2006 12:45:48 GMT From: Max Brazhnikov<makc@issp.ac.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107320: multimedia/gxine: fix build with mozilla Message-ID: <200612291245.kBTCjmah042933@www.freebsd.org> Resent-Message-ID: <200612291250.kBTCoD4d020267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107320 >Category: ports >Synopsis: multimedia/gxine: fix build with mozilla >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Dec 29 12:50:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Max Brazhnikov >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: FreeBSD lqc.issp.ac.ru 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec 20 19:14:29 MSK 2006 root@lqc.issp.ac.ru:/usr/obj/usr/src/sys/LQC i386 >Description: gxine fails to build if mozilla is installed. >How-To-Repeat: >Fix: pass correct NSPR_CFLAGS to configure instead of patching Patch attached with submission follows: diff -ruN --exclude=CVS /usr/ports/multimedia/gxine/Makefile /home/makc/porting/ports/multimedia/gxine/Makefile --- /usr/ports/multimedia/gxine/Makefile Thu Dec 7 20:17:43 2006 +++ /home/makc/porting/ports/multimedia/gxine/Makefile Fri Dec 29 14:52:27 2006 @@ -68,14 +68,11 @@ USE_GECKO= firefox mozilla xulrunner firefox15 .include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" LIB_DEPENDS+= nspr4.1:${PORTSDIR}/devel/nspr +CONFIGURE_ENV+= NSPR_CFLAGS="-I${LOCALBASE}/include/nspr" \ + NSPR_LIBS="-L${LOCALBASE}/lib" CONFIGURE_ARGS+=--disable-libjs -CFLAGS+= -I${LOCALBASE}/include/nspr PLIST_SUB+= MOZILLA_PLUGIN="" .endif - -post-patch: - @${REINPLACE_CMD} -e "s|firefox/nspr/||g" \ - ${WRKSRC}/configure post-install: .if !defined(WITHOUT_MOZILLA_PLUGIN) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612291245.kBTCjmah042933>