Hi!

Can we assume all -head users update src at least "per month" basis?
If so, no problem.

If not, as __FreeBSD_version 1200018 came on Dec 7 15:04:22 2016 UTC at
r309676, users sticking on src before this should need
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-old.

This case, version check portion for 11 and 12 should be as below.


.if ${OSVERSION} < 1200017
.if ${OSVERSION} > 1100507 && ${OSVERSION} < 1200000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-new
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-old
.endif
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-new
.endif


This could be restored with yours after stable/12 is branched.

Or making ports/UPDATING entry for -head users to update to latest
base (at least after r309676) first before updating chromium could
be enough.

Regards.

> Author: cpm
> Date: Fri Jan 13 03:18:05 2017
> New Revision: 431339
> URL: https://svnweb.freebsd.org/changeset/ports/431339
>
> Log:
>   - Wrap the entire block with OPSYS check
>   
>   Reported by:        marino
>   MFH:                2017Q1 (blanket)
> 
> Modified:
>   head/www/chromium/Makefile
> 
> Modified: head/www/chromium/Makefile
> ==============================================================================
> --- head/www/chromium/Makefile        Fri Jan 13 02:41:25 2017
 (r431338)
> +++ head/www/chromium/Makefile        Fri Jan 13 03:18:05
2017    (r431339)
> @@ -187,15 +187,17 @@ GN_ARGS+=
is_clang=true
>  EXTRA_PATCHES+=      ${FILESDIR}/extra-patch-clang
>  .endif
>  
> -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508
> +.if ${OPSYS} == FreeBSD
> +.if ${OSVERSION} < 1100508
>  EXTRA_PATCHES+=      ${FILESDIR}/extra-patch-libc++-old
>  .else
>  EXTRA_PATCHES+=      ${FILESDIR}/extra-patch-libc++-new
>  .endif
>  
> -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
> +.if ${OSVERSION} < 1100000
>  EXTRA_PATCHES+=      ${FILESDIR}/extra-patch-10
>  .endif
> +.endif
>  
>  .if ! ${PORT_OPTIONS:MKERBEROS}
>  GN_ARGS+=    use_kerberos=true

-- 
Tomoaki AOKI    <[email protected]>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to