diff options
author | pav <pav@FreeBSD.org> | 2006-12-31 22:04:18 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-12-31 22:04:18 +0800 |
commit | 04d1b815f446ac91d2d021d005c58c933093c744 (patch) | |
tree | 214976179823b37b3661be0cf2a4f2f81a9f8770 /multimedia | |
parent | a1be801ed98881b50cc30474c7729a207824e36d (diff) | |
download | freebsd-ports-graphics-04d1b815f446ac91d2d021d005c58c933093c744.tar.gz freebsd-ports-graphics-04d1b815f446ac91d2d021d005c58c933093c744.tar.zst freebsd-ports-graphics-04d1b815f446ac91d2d021d005c58c933093c744.zip |
- Pass nspr flags to configure, instead of patching them in
PR: ports/107320
Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
Diffstat (limited to 'multimedia')
-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 d023a0d0df4..52b203126cc 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 |