diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-31 14:04:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-31 14:04:18 +0000 |
commit | 98a0654f9b94508c357af99e2e72c79b4a7c01f4 (patch) | |
tree | f0964fb94836848fa5d0441e1c99d0df1c638375 /multimedia/gxine/Makefile | |
parent | acadeb64b527dcd8155877a309415aec11ffe8de (diff) | |
download | ports-98a0654f9b94508c357af99e2e72c79b4a7c01f4.tar.gz ports-98a0654f9b94508c357af99e2e72c79b4a7c01f4.zip |
- Pass nspr flags to configure, instead of patching them in
PR: ports/107320
Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
Notes
Notes:
svn path=/head/; revision=181148
Diffstat (limited to 'multimedia/gxine/Makefile')
-rw-r--r-- | multimedia/gxine/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/multimedia/gxine/Makefile b/multimedia/gxine/Makefile index d023a0d0df46..52b203126ccf 100644 --- a/multimedia/gxine/Makefile +++ b/multimedia/gxine/Makefile @@ -68,15 +68,12 @@ PLIST_SUB+= MOZILLA_PLUGIN="@comment " 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) @${MKDIR} ${PREFIX}/lib/browser_plugins |