diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index 63d97d9930cd..cdf7e4d5a992 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -1,8 +1,7 @@ # Created by: Kenneth Vestergaard Schmidt PORTNAME= emacs -DISTVERSION= 29.0.50.20220331 -PORTREVISION= 1 +DISTVERSION= 29.0.50.20220416 PORTEPOCH= 2 CATEGORIES= editors PKGNAMESUFFIX= -devel @@ -26,7 +25,7 @@ USES= autoreconf:build cpe gmake localbase:ldflags ncurses pkgconfig CPE_VENDOR= gnu USE_GITHUB= yes GH_ACCOUNT= emacs-mirror -GH_TAGNAME= c5af19c +GH_TAGNAME= 1fed6e7 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ @@ -64,8 +63,10 @@ CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs emacs-canna emacs-nox -SUB_FILES= sources.el -SUB_LIST= EMACS_VER=${DISTVERSION:R} +SUB_FILES= pkg-message sources.el +SUB_LIST= EMACS_VER=${DISTVERSION:R} \ + NATIVECOMP_COMMENT_END=${NATIVECOMP_COMMENT_END} \ + NATIVECOMP_COMMENT_START=${NATIVECOMP_COMMENT_START} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime \ @@ -85,8 +86,8 @@ OPTIONS_DEFINE= ACL DBUS GCONF GNUTLS GSETTINGS HARFBUZZ JSON \ XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 MAILUTILS \ - MODULES OSS PGTK PNG SCROLLBARS SOURCES SQLITE3 \ - SVG THREADS TIFF WEBP XML + MODULES NATIVECOMP OSS PGTK PNG SCROLLBARS \ + SOURCES SQLITE3 SVG THREADS TIFF WEBP XML OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT @@ -223,6 +224,14 @@ XWIDGETS_CONFIGURE_WITH= xwidgets USE_GCC= yes .endif +.if ${PORT_OPTIONS:MNATIVECOMP} +NATIVECOMP_COMMENT_END= +NATIVECOMP_COMMENT_START= +.else +NATIVECOMP_COMMENT_END= '*/' +NATIVECOMP_COMMENT_START= '/*' +.endif + .if ${PORT_OPTIONS:MNATIVECOMP} && !defined(_GCC_PORT_CHOSEN) _GCC_PORT!= ${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes .endif @@ -243,7 +252,7 @@ CONFIGURE_ARGS+= --with-x-toolkit=no # Schema generation is dependent on both PGTK, and GSETTINGS options # as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5 .if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK} -GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml +GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml .endif .if ${FLAVOR} == nox diff --git a/editors/emacs-devel/distinfo b/editors/emacs-devel/distinfo index 175afeb50790..8c4b1cd648a9 100644 --- a/editors/emacs-devel/distinfo +++ b/editors/emacs-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648744019 -SHA256 (emacs-mirror-emacs-29.0.50.20220331-c5af19c_GH0.tar.gz) = 6caccc85ea3c4446f4ae0878d8ae2c70209e37064fc6ee02b7294698a12de1a7 -SIZE (emacs-mirror-emacs-29.0.50.20220331-c5af19c_GH0.tar.gz) = 45440509 +TIMESTAMP = 1650071980 +SHA256 (emacs-mirror-emacs-29.0.50.20220416-1fed6e7_GH0.tar.gz) = a44463477213111797b8b0a090334c3f3b3801d2f3b4162038ffb181f142a079 +SIZE (emacs-mirror-emacs-29.0.50.20220416-1fed6e7_GH0.tar.gz) = 45503871 diff --git a/editors/emacs-devel/files/pkg-message.in b/editors/emacs-devel/files/pkg-message.in new file mode 100644 index 000000000000..24db8aefacdf --- /dev/null +++ b/editors/emacs-devel/files/pkg-message.in @@ -0,0 +1,73 @@ +[ +%%NATIVECOMP_COMMENT_START%% +{ type: install + message: <