diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-11-21 02:57:46 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-11-21 02:57:46 +0800 |
commit | 85e3138ce51039c257bd2bfcf122e5cf996c6be4 (patch) | |
tree | 08e30488ee6a6a6bbcc497eb4189e80b31e7a674 | |
parent | dd3b7dc6c6db64ade4c9a6020c124dd759f97fbd (diff) | |
download | freebsd-ports-gnome-85e3138ce51039c257bd2bfcf122e5cf996c6be4.tar.gz freebsd-ports-gnome-85e3138ce51039c257bd2bfcf122e5cf996c6be4.tar.zst freebsd-ports-gnome-85e3138ce51039c257bd2bfcf122e5cf996c6be4.zip |
gecko: drop pre-52 support
-rw-r--r-- | Mk/bsd.gecko.mk | 45 |
1 files changed, 2 insertions, 43 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 6c6f9ec37886..dc2f21ca2cda 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -81,27 +81,17 @@ MOZILLA_VER?= ${PORTVERSION} MOZILLA_BIN?= ${PORTNAME}-bin MOZILLA_EXEC_NAME?=${MOZILLA} MOZ_RPATH?= ${MOZILLA} -USES+= cpe gl gmake iconv localbase perl5 pkgconfig \ +USES+= compiler:c++17-lang cpe gl gmake iconv localbase perl5 pkgconfig \ python:2.7,build desktop-file-utils CPE_VENDOR?=mozilla USE_GL= gl USE_PERL5= build -USE_XORG= x11 xcomposite xdamage xext xfixes xrender xt +USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrender xt HAS_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes BUNDLE_LIBS= yes -.if ${MOZILLA_VER:R:R} >= 49 -USES+= compiler:c++17-lang -.else -USES+= compiler:c++11-lang -.endif - -.if ${MOZILLA_VER:R:R} >= 50 -USE_XORG+= xcb -.endif - .if ${MOZILLA_VER:R:R} >= 56 LLVM_DEFAULT?= 70 BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} @@ -158,14 +148,6 @@ RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} .endif -.if ${MOZILLA_VER:R:R} < 55 && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032 -# use jemalloc 3.0.0 (4.0 for firefox 43+) API for stats/tuning -MOZ_EXPORT+= MOZ_JEMALLOC4=1 -.if ${MOZILLA_VER:R:R} >= 48 -MOZ_OPTIONS+= --enable-jemalloc=4 -.endif # Mozilla >= 48 -.endif # Mozilla < 55 - # Standard depends _ALL_DEPENDS= cairo event ffi graphite harfbuzz hunspell icu jpeg nspr nss png pixman sqlite vpx @@ -305,10 +287,6 @@ MOZ_OPTIONS+= --disable-dbus RUN_DEPENDS+= ffmpeg>=0.8,1:multimedia/ffmpeg .endif -.if ${MOZILLA_VER:R:R} < 46 -MOZ_OPTIONS+= --disable-gstreamer -.endif - .if ${PORT_OPTIONS:MGCONF} USE_GNOME+= gconf2 MOZ_OPTIONS+= --enable-gconf @@ -504,31 +482,12 @@ gecko-post-patch: ${PATCH} ${PATCH_ARGS} -d ${MOZSRC}/security/nss < $$i; \ done .endif - @for f in \ - ${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \ - ${WRKSRC}/directory/c-sdk/configure \ - ${MOZSRC}/security/coreconf/FreeBSD.mk \ - ${MOZSRC}/js/src/Makefile.in \ - ${MOZSRC}/js/src/configure \ - ${MOZSRC}/configure \ - ${WRKSRC}/configure; do \ - if [ -f $$f ] ; then \ - ${REINPLACE_CMD} -Ee 's|-lc_r|-pthread|g ; \ - s|-l?pthread|-pthread|g ; \ - s|echo aout|echo elf|g ; \ - s|/usr/X11R6|${LOCALBASE}|g' \ - $$f; \ - fi; \ - done @if [ -f ${WRKSRC}/config/baseconfig.mk ] ; then \ ${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \ ${WRKSRC}/config/baseconfig.mk; \ fi @${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \ ${MOZSRC}/config/baseconfig.mk - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ - s|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${MOZSRC}/build/unix/run-mozilla.sh @${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g ; \ s|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \ ${MOZSRC}/xpcom/io/SpecialSystemDirectory.cpp |