diff options
-rw-r--r-- | app-emacs/doxymacs/doxymacs-1.8.0-r5.ebuild (renamed from app-emacs/doxymacs/doxymacs-1.8.0-r4.ebuild) | 21 | ||||
-rw-r--r-- | app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch | 21 |
2 files changed, 34 insertions, 8 deletions
diff --git a/app-emacs/doxymacs/doxymacs-1.8.0-r4.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0-r5.ebuild index 8f6f1f24fd89..6f379856aac5 100644 --- a/app-emacs/doxymacs/doxymacs-1.8.0-r4.ebuild +++ b/app-emacs/doxymacs/doxymacs-1.8.0-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit elisp flag-o-matic +inherit elisp DESCRIPTION="Doxygen editing minor mode" HOMEPAGE="http://doxymacs.sourceforge.net/" @@ -13,14 +13,18 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" -DEPEND=">=dev-libs/libxml2-2.6.13" -RDEPEND="${DEPEND}" +RDEPEND=">=dev-libs/libxml2-2.6.13" +DEPEND="${RDEPEND}" -PATCHES=("${FILESDIR}"/${P}-gcc7.patch) +PATCHES=( + "${FILESDIR}"/${P}-flags.patch + "${FILESDIR}"/${P}-gcc7.patch +) + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) SITEFILE="50${PN}-gentoo.el" src_configure() { - append-flags -Wno-error #260874 econf --with-lispdir="${SITELISP}/${PN}" } @@ -31,5 +35,6 @@ src_compile() { src_install() { emake DESTDIR="${D}" install elisp-site-file-install "${FILESDIR}/${SITEFILE}" - dodoc AUTHORS ChangeLog NEWS README TODO + + einstalldocs } diff --git a/app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch b/app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch new file mode 100644 index 000000000000..4aeef48c7fbe --- /dev/null +++ b/app-emacs/doxymacs/files/doxymacs-1.8.0-flags.patch @@ -0,0 +1,21 @@ +--- a/c/Makefile.am ++++ b/c/Makefile.am +@@ -7,6 +7,6 @@ doxymacs_parser_SOURCES = doxymacs_parser.c + + INCLUDES = $(XML_CPPFLAGS) + +-AM_CFLAGS = -Wall -Werror -fexpensive-optimizations -fomit-frame-pointer ++AM_CFLAGS = -Wall + + doxymacs_parser_LDADD = $(XML_LIBS) +--- a/c/Makefile.in ++++ b/c/Makefile.in +@@ -153,7 +153,7 @@ sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + doxymacs_parser_SOURCES = doxymacs_parser.c + INCLUDES = $(XML_CPPFLAGS) +-AM_CFLAGS = -Wall -Werror -fexpensive-optimizations -fomit-frame-pointer ++AM_CFLAGS = -Wall + doxymacs_parser_LDADD = $(XML_LIBS) + all: all-am + |