diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-04-12 14:32:00 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-04-12 14:32:00 +0000 |
commit | e05bcb20ad8cfefade680c81ba4b7e5b786dea38 (patch) | |
tree | ae6a86d24114f79e9b85ad4e9db3cf8fbadf2f07 /app-emacs | |
parent | digest recommit, upstream has changed the contents of the distfile, fixes #88... (diff) | |
download | gentoo-2-e05bcb20ad8cfefade680c81ba4b7e5b786dea38.tar.gz gentoo-2-e05bcb20ad8cfefade680c81ba4b7e5b786dea38.tar.bz2 gentoo-2-e05bcb20ad8cfefade680c81ba4b7e5b786dea38.zip |
Fixed compilation with emacs-23; bug #83079.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/auctex/ChangeLog | 7 | ||||
-rw-r--r-- | app-emacs/auctex/auctex-11.54.ebuild | 16 | ||||
-rw-r--r-- | app-emacs/auctex/auctex-11.55.ebuild | 17 | ||||
-rw-r--r-- | app-emacs/auctex/files/auctex-11.54-configure.diff | 104 | ||||
-rw-r--r-- | app-emacs/auctex/files/auctex-11.55-configure.diff | 105 |
5 files changed, 241 insertions, 8 deletions
diff --git a/app-emacs/auctex/ChangeLog b/app-emacs/auctex/ChangeLog index 789b1fa872e7..77c7a090e836 100644 --- a/app-emacs/auctex/ChangeLog +++ b/app-emacs/auctex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emacs/auctex # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.27 2005/04/09 20:52:01 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.28 2005/04/12 14:32:00 usata Exp $ + + 12 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> + +files/auctex-11.54-configure.diff, +files/auctex-11.55-configure.diff, + auctex-11.54.ebuild, auctex-11.55.ebuild: + Fixed compilation with emacs-23; bug #83079. 09 Apr 2005; Jason Wever <weeve@gentoo.org> auctex-11.54.ebuild: Stable on SPARC. diff --git a/app-emacs/auctex/auctex-11.54.ebuild b/app-emacs/auctex/auctex-11.54.ebuild index 9cfc45ddc047..0688221cd6de 100644 --- a/app-emacs/auctex/auctex-11.54.ebuild +++ b/app-emacs/auctex/auctex-11.54.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.54.ebuild,v 1.3 2005/04/09 20:52:01 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.54.ebuild,v 1.4 2005/04/12 14:32:00 usata Exp $ -inherit elisp +inherit elisp eutils DESCRIPTION="AUCTeX is an extensible package that supports writing and formatting TeX files" HOMEPAGE="http://www.gnu.org/software/auctex" @@ -15,8 +15,18 @@ IUSE="" DEPEND="virtual/tetex" +src_unpack() { + unpack ${A} + cd ${S} + + # skip XEmacs detection. this is a workaround for emacs23 + epatch ${FILESDIR}/${P}-configure.diff +} + src_compile() { - econf --with-auto-dir=${D}/var/lib/auctex \ + econf \ + --disable-build-dir-test \ + --with-auto-dir=${D}/var/lib/auctex \ --with-lispdir=${D}/usr/share/emacs/site-lisp \ --with-tex-input-dirs="/usr/share/texmf/tex/;/usr/share/texmf/bibtex/bst/" || die "econf failed" emake || die diff --git a/app-emacs/auctex/auctex-11.55.ebuild b/app-emacs/auctex/auctex-11.55.ebuild index 7717be787826..bd98f3ce5d20 100644 --- a/app-emacs/auctex/auctex-11.55.ebuild +++ b/app-emacs/auctex/auctex-11.55.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.55.ebuild,v 1.1 2005/04/02 06:21:15 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.55.ebuild,v 1.2 2005/04/12 14:32:00 usata Exp $ -inherit elisp +inherit elisp eutils DESCRIPTION="AUCTeX is an extensible package that supports writing and formatting TeX files" HOMEPAGE="http://www.gnu.org/software/auctex" @@ -15,10 +15,19 @@ IUSE="" DEPEND="virtual/tetex" +src_unpack() { + unpack ${A} + cd ${S} + + # skip XEmacs detection. this is a workaround for emacs23 + epatch ${FILESDIR}/${P}-configure.diff +} + src_compile() { - econf --with-auto-dir=${D}/var/lib/auctex \ + econf --disable-build-dir-test \ + --with-auto-dir=${D}/var/lib/auctex \ --with-lispdir=${D}/usr/share/emacs/site-lisp \ - --with-tex-input-dirs="/usr/share/texmf/tex/;/usr/share/texmf/bibtex/bst/" || die "econf failed" + || die "econf failed" emake || die # bug #72637 diff --git a/app-emacs/auctex/files/auctex-11.54-configure.diff b/app-emacs/auctex/files/auctex-11.54-configure.diff new file mode 100644 index 000000000000..7af345352b14 --- /dev/null +++ b/app-emacs/auctex/files/auctex-11.54-configure.diff @@ -0,0 +1,104 @@ +--- configure 2005-01-13 00:26:39.000000000 +0900 ++++ configure-emacs 2005-04-12 23:00:32.000000000 +0900 +@@ -1458,100 +1458,7 @@ + { (exit 1); exit 1; }; } + fi + +-echo "$as_me:$LINENO: checking if $EMACS is XEmacs" >&5 +-echo $ECHO_N "checking if $EMACS is XEmacs... $ECHO_C" >&6 +- +- elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\")" +- OUTPUT=./conftest-$$ +- echo "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- XEMACS="`cat ${OUTPUT}`" +- echo "=> ${1}" >& 5 2>&1 +- rm -f ${OUTPUT} +- +-if test "$XEMACS" = "yes"; then +- EMACS_FLAVOR=xemacs +-else +- if test "$XEMACS" = "no"; then +- EMACS_FLAVOR=emacs +- else +- { { echo "$as_me:$LINENO: error: Unable to run $EMACS! Aborting!" >&5 +-echo "$as_me: error: Unable to run $EMACS! Aborting!" >&2;} +- { (exit 1); exit 1; }; } +- fi +-fi +- echo "$as_me:$LINENO: result: $XEMACS" >&5 +-echo "${ECHO_T}$XEMACS" >&6 +- +- +- +-echo "$as_me:$LINENO: checking if (X)Emacs is recent enough" >&5 +-echo $ECHO_N "checking if (X)Emacs is recent enough... $ECHO_C" >&6 +- +- elisp="emacs-major-version" +- OUTPUT=./conftest-$$ +- echo "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- EMACS_MAJOR_VERSION="`cat ${OUTPUT}`" +- echo "=> ${1}" >& 5 2>&1 +- rm -f ${OUTPUT} +- +-if (( $EMACS_MAJOR_VERSION < 21 )); then +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +- { { echo "$as_me:$LINENO: error: AUCTeX requires at least (X)Emacs version 21. Aborting!" >&5 +-echo "$as_me: error: AUCTeX requires at least (X)Emacs version 21. Aborting!" >&2;} +- { (exit 1); exit 1; }; } +-else +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-fi +- +- +- +-echo "$as_me:$LINENO: checking for mule support" >&5 +-echo $ECHO_N "checking for mule support... $ECHO_C" >&6 +- +-if test -z "silent"; then +- echo "$as_me:$LINENO: checking for mule" >&5 +-echo $ECHO_N "checking for mule... $ECHO_C" >&6 +-fi +-library=`echo mule | tr _ -` +- +- elisp="(condition-case nil (require '$library ) \ +- (error (prog1 nil (message \"$library not found\"))))" +- OUTPUT=./conftest-$$ +- echo "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- mule="`cat ${OUTPUT}`" +- echo "=> ${1}" >& 5 2>&1 +- rm -f ${OUTPUT} +- +-if test "$mule" = "nil"; then +- mule=no +-fi +-if test "$mule" = "$library"; then +- mule=yes +-fi +-HAVE_mule=$mule +- +-if test -z "silent"; then +- echo "$as_me:$LINENO: result: $HAVE_mule" >&5 +-echo "${ECHO_T}$HAVE_mule" >&6 +-fi +- +-if test "${HAVE_mule}" = "yes"; then +- COMPILE_MULE="tex-jp.el" +- CONTRIB_MULEELC="tex-jp.elc" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +- +- ++EMACS_FLAVOR=emacs + + # The Debian package uses `--disable-build-dir-test'; normal users should + # never need to modify the default behavior. diff --git a/app-emacs/auctex/files/auctex-11.55-configure.diff b/app-emacs/auctex/files/auctex-11.55-configure.diff new file mode 100644 index 000000000000..23dbb31a1b7d --- /dev/null +++ b/app-emacs/auctex/files/auctex-11.55-configure.diff @@ -0,0 +1,105 @@ +--- configure 2005-02-05 04:15:04.000000000 +0900 ++++ configure-emacs 2005-04-12 23:11:41.000000000 +0900 +@@ -1457,101 +1457,7 @@ + { (exit 1); exit 1; }; } + fi + +-echo "$as_me:$LINENO: checking if $EMACS is XEmacs" >&5 +-echo $ECHO_N "checking if $EMACS is XEmacs... $ECHO_C" >&6 +- +- elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\")" +- OUTPUT=./conftest-$$ +- echo "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- XEMACS="`cat ${OUTPUT}`" +- echo "=> ${1}" >& 5 2>&1 +- rm -f ${OUTPUT} +- +-if test "$XEMACS" = "yes"; then +- EMACS_FLAVOR=xemacs +-else +- if test "$XEMACS" = "no"; then +- EMACS_FLAVOR=emacs +- else +- { { echo "$as_me:$LINENO: error: Unable to run $EMACS! Aborting!" >&5 +-echo "$as_me: error: Unable to run $EMACS! Aborting!" >&2;} +- { (exit 1); exit 1; }; } +- fi +-fi +- echo "$as_me:$LINENO: result: $XEMACS" >&5 +-echo "${ECHO_T}$XEMACS" >&6 +- +- +- +- +-echo "$as_me:$LINENO: checking if (X)Emacs is recent enough" >&5 +-echo $ECHO_N "checking if (X)Emacs is recent enough... $ECHO_C" >&6 +- +- elisp="emacs-major-version" +- OUTPUT=./conftest-$$ +- echo "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- EMACS_MAJOR_VERSION="`cat ${OUTPUT}`" +- echo "=> ${1}" >& 5 2>&1 +- rm -f ${OUTPUT} +- +-if (( $EMACS_MAJOR_VERSION < 21 )); then +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +- { { echo "$as_me:$LINENO: error: This package requires at least (X)Emacs version 21. Aborting!" >&5 +-echo "$as_me: error: This package requires at least (X)Emacs version 21. Aborting!" >&2;} +- { (exit 1); exit 1; }; } +-else +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-fi +- +- +- +-echo "$as_me:$LINENO: checking for mule support" >&5 +-echo $ECHO_N "checking for mule support... $ECHO_C" >&6 +- +-if test -z "silent"; then +- echo "$as_me:$LINENO: checking for mule" >&5 +-echo $ECHO_N "checking for mule... $ECHO_C" >&6 +-fi +-library=`echo mule | tr _ -` +- +- elisp="(condition-case nil (require '$library ) \ +- (error (prog1 nil (message \"$library not found\"))))" +- OUTPUT=./conftest-$$ +- echo "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- "${EMACS}" -batch -eval "(let* ((x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1 +- mule="`cat ${OUTPUT}`" +- echo "=> ${1}" >& 5 2>&1 +- rm -f ${OUTPUT} +- +-if test "$mule" = "nil"; then +- mule=no +-fi +-if test "$mule" = "$library"; then +- mule=yes +-fi +-HAVE_mule=$mule +- +-if test -z "silent"; then +- echo "$as_me:$LINENO: result: $HAVE_mule" >&5 +-echo "${ECHO_T}$HAVE_mule" >&6 +-fi +- +-if test "${HAVE_mule}" = "yes"; then +- COMPILE_MULE="tex-jp.el" +- CONTRIB_MULEELC="tex-jp.elc" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +- +- ++EMACS_FLAVOR=emacs + + # The Debian package uses `--disable-build-dir-test'; normal users should + # never need to modify the default behavior. |