add /etc/emacs as additional location to search for custom

user defined lisp files

patch cleaning and ok jca@
This commit is contained in:
aisha
2024-07-06 02:12:36 +00:00
parent 87b656f20a
commit dc67c93db1
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -4,6 +4,7 @@ COMMENT= GNU editor: extensible, customizable, self-documenting
# Zap post-extract when updating
VERSION= 29.4
DISTNAME= emacs-${VERSION}
REVISION= 0
CATEGORIES= editors
@@ -26,10 +27,12 @@ FLAVORS= athena gtk2 gtk3 no_x11
FLAVOR?= gtk3
GCCARCH= ${MACHINE_ARCH}-unknown-openbsd
LOCAL_LISP_PATH= ${SYSCONFDIR}/emacs:${LOCALBASE}/share/emacs/${VERSION:C/[a-z]+$$//}/site-lisp:${LOCALBASE}/share/emacs/site-lisp
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
CONFIGURE_ARGS= --build="${GCCARCH}" \
--enable-locallisppath="${LOCAL_LISP_PATH}" \
--without-sound
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+1
View File
@@ -4309,3 +4309,4 @@ share/emacs/site-lisp/
share/emacs/site-lisp/subdirs.el
share/metainfo/
share/metainfo/emacs.metainfo.xml
@sample ${SYSCONFDIR}/emacs/