summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-11-07 07:28:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-11-07 07:28:41 +0000
commit3cddaf410e7166795819bbcdc4858d251b21a99d (patch)
tree911351e69f2eaecaed023af4eb11d32b7487bdad /app-office/texmacs
parentfixed SRC_URI to ibiblio again (diff)
downloadgentoo-2-3cddaf410e7166795819bbcdc4858d251b21a99d.tar.gz
gentoo-2-3cddaf410e7166795819bbcdc4858d251b21a99d.tar.bz2
gentoo-2-3cddaf410e7166795819bbcdc4858d251b21a99d.zip
econf + CXXFLAGS fix
Diffstat (limited to 'app-office/texmacs')
-rw-r--r--app-office/texmacs/ChangeLog8
-rw-r--r--app-office/texmacs/texmacs-1.0.0.19.ebuild24
2 files changed, 18 insertions, 14 deletions
diff --git a/app-office/texmacs/ChangeLog b/app-office/texmacs/ChangeLog
index 62e7c21826b9..2161bf456721 100644
--- a/app-office/texmacs/ChangeLog
+++ b/app-office/texmacs/ChangeLog
@@ -1,9 +1,15 @@
# ChangeLog for app-office/texmacs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.4 2002/10/24 02:45:40 satai Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.5 2002/11/07 07:28:41 seemant Exp $
*texmacs-1.0.0.19 (23 Oct 2002)
+ 06 Nov 2002; Seemant Kulleen <seemant@gentoo.org> texmacs-1.0.0.19.ebuild :
+
+ Changed to use econf so things get installed in the correct locations
+ and custom CXXFLAGS settings. Closes bug #10220 by:
+ jap1@ionet.net (Jacob Perkins)
+
23 Oct 2002; Matthew Turk <satai@gentoo.org> :
New version, testing. Changing to unstable.
diff --git a/app-office/texmacs/texmacs-1.0.0.19.ebuild b/app-office/texmacs/texmacs-1.0.0.19.ebuild
index 34097d8e2b5b..05feb8135f96 100644
--- a/app-office/texmacs/texmacs-1.0.0.19.ebuild
+++ b/app-office/texmacs/texmacs-1.0.0.19.ebuild
@@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:46:51 gbevin Exp
-S=${WORKDIR}/TeXmacs-${PV}-src
+MY_P=${P/tex/TeX}-src
+S=${WORKDIR}/${MY_P}
DESCRIPTION="GNU TeXmacs is a free GUI scientific editor, inspired by TeX and GNU Emacs."
-SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${PV}-src.tar.gz
+SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/${MY_P}.tar.gz
ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz"
HOMEPAGE="http://www.texmacs.org/"
@@ -14,27 +15,24 @@ KEYWORDS="~x86"
DEPEND=">=app-text/tetex-1.0.7-r7
>=dev-util/guile-1.3.4
- >=x11-base/xfree-4.2.0-r5"
+ sys-apps/supersed
+ virtual/x11"
RDEPEND="${DEPEND}
app-text/ghostscript"
src_compile() {
-
- cd ${S}
- ./configure
- cd src
- mv common.makefile common.makefile.orig
- cat common.makefile.orig | sed -e 's|CXXOPTIMIZE = -O3 -fexpensive-optimizations -fno-exceptions|CXXOPTIMIZE = -O0|g' > common.makefile
-
- cd ${S}
- make || die
+
+ econf
+ ssed -i "s:\(^CXXOPTIMIZE = \).*:\1${CXXFLAGS}:" src/common.makefile
+
+ cd ${S}
+ make || die
}
src_install() {
- cd ${S}
make DESTDIR=${D} install || die
cd ${WORKDIR}