Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133275694
D31011.id94756.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31011.id94756.diff
View Options
diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -2,6 +2,7 @@
PORTNAME= emacs
DISTVERSION= 28.0.50.20210901
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= editors
PKGNAMESUFFIX= -devel
@@ -169,10 +170,10 @@
MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \
ac_cv_prog_liblockfile=no
MODULES_CONFIGURE_WITH= modules
-NATIVECOMP_LIB_DEPENDS= libgccjit.so:lang/gcc11
+NATIVECOMP_LIB_DEPENDS= libgccjit.so:lang/${_GCC_PORT}
NATIVECOMP_CONFIGURE_WITH= native-compilation
NATIVECOMP_MAKE_ARGS= NATIVE_FULL_AOT=1
-NATIVECOMP_LDFLAGS= -L${LOCALBASE}/lib/gcc11
+NATIVECOMP_LDFLAGS= -L${LOCALBASE}/lib/${_GCC_PORT}
OSS_CONFIGURE_ON= --with-sound=oss
OTF_IMPLIES= XFT
OTF_LIB_DEPENDS= libotf.so:print/libotf
@@ -210,6 +211,10 @@
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MNATIVECOMP} && !defined(_GCC_PORT_CHOSEN)
+_GCC_PORT!= ${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes
+.endif
+
.if ${ARCH} == powerpc64le
USE_GCC= yes
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 25, 1:21 PM (2 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24158978
Default Alt Text
D31011.id94756.diff (1 KB)
Attached To
Mode
D31011: Mk/bsd.gcc.mk: Add jit argument
Attached
Detach File
Event Timeline
Log In to Comment