FreeBSD Bugzilla – Attachment 207661 Details for
Bug 240594
graphics/rawtherapee: drop GCC dependency after 11.2 and 12.0 are discontinued? (March 2020?)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add option
rawtherapee.patch (text/plain), 2.21 KB, created by
Ivan Rozhuk
on 2019-09-20 17:13:54 UTC
(
hide
)
Description:
add option
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2019-09-20 17:13:54 UTC
Size:
2.21 KB
patch
obsolete
>Index: graphics/rawtherapee/Makefile >=================================================================== >--- graphics/rawtherapee/Makefile (revision 512420) >+++ graphics/rawtherapee/Makefile (working copy) >@@ -26,17 +26,12 @@ > libsigc-2.0.so:devel/libsigc++20 \ > libtiff.so:graphics/tiff > >-USES= cmake desktop-file-utils compiler:gcc-c++11-lib gnome \ >+USES= cmake desktop-file-utils gnome \ > jpeg localbase:ldflags pkgconfig tar:xz > > DOS2UNIX_REGEX= .*\.(cc|h) > USE_GNOME= gtkmm30 librsvg2 >-USE_GCC= 9+ >-USE_BINUTILS= yes > >-_LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} -fuse-linker-plugin -fno-fat-lto-objects >-_AR= ${CC:S/gcc/gcc-ar/} >-_RANLIB= ${CC:S/gcc/gcc-ranlib/} > CFLAGS+= -I${LOCALBASE}/include -fPIC ${_LTO_FLAGS} ${_OPT_FLAGS} > LDFLAGS+= -Wl,--as-needed -lpthread ${_LTO_FLAGS} ${_OPT_FLAGS} > CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}" \ >@@ -46,8 +41,6 @@ > -DDATADIR="${DATADIR}" \ > -DCACHE_NAME_SUFFIX="" \ > -Wno-dev \ >- -DCMAKE_AR:FILEPATH=${_AR} \ >- -DCMAKE_RANLIB:FILEPATH=${_RANLIB} \ > -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW > # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default > # any more. The CMP0056 policy must be explicitly set to NEW to ensure >@@ -70,11 +63,12 @@ > > RTDIR= ${PREFIX}/libdata/${PORTNAME} > >-OPTIONS_DEFINE= DOCS NATIVE >-OPTIONS_DEFINE_i386= DOCS NATIVE OPENMP >-OPTIONS_DEFINE_amd64= DOCS NATIVE OPENMP >-OPTIONS_DEFAULT= OPENMP >+OPTIONS_DEFINE= DOCS LTO NATIVE >+OPTIONS_DEFINE_i386= DOCS LTO NATIVE OPENMP >+OPTIONS_DEFINE_amd64= DOCS LTO NATIVE OPENMP >+OPTIONS_DEFAULT= LTO OPENMP > OPENMP_DESC= Enable OpenMP parallel processing (i386/amd64 only) >+LTO_DESC= Enable LTO optomizations (requires gcc) > NATIVE_DESC= Use -march=native (avoid for generic packages!) > > OPENMP_CMAKE_BOOL= OPTION_OMP >@@ -105,6 +99,17 @@ > STRIP= > .endif > >+.if ${PORT_OPTIONS:MLTO} >+USES+= compiler:gcc-c++11-lib >+USE_GCC= 9+ >+USE_BINUTILS= yes >+_LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} -fuse-linker-plugin -fno-fat-lto-objects >+_AR= ${CC:S/gcc/gcc-ar/} >+_RANLIB= ${CC:S/gcc/gcc-ranlib/} >+CMAKE_ARGS+= -DCMAKE_AR:FILEPATH=${_AR} \ >+ -DCMAKE_RANLIB:FILEPATH=${_RANLIB} >+.endif >+ > _OPT_FLAGS= -O3 -funroll-loops > # GCC 5.4 includes -fexpensive-optimizations in -O2 already > .if (${ARCH} == i386) || (${ARCH} == amd64)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mandree
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 240594
:
207513
| 207661 |
207665