Ticket #11163 (closed defect: fixed)
BUG: lyx-1.4.0pre3 fails to download + compile issue on intel
| Reported by: | ossgil@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.3.2 |
| Keywords: | lyx, intel | Cc: | rsorasen@…, ryandesign@…, macports.users@… |
| Port: |
Description
First the source file for the current LyX port is no longer present on the original server (lyx-1.4.0pre3.tar.gz). Replacing it with the 1.4.3 release initially fails on intel machines since the port requires gcc-3.3, which will not compile for intel. Removing this requirement, by modifying the Portfile further, allows for a succesful install. Finally I have modified the Portfile to make LyX install into /Applications/MacPorts/ instead of the old /Applications/DarwinPorts/ directory. I have been using the compiled version and it seems to run ok, however it does exhibits crashes upon exiting.
Modified Portfile included. No changes were made to the patch.
# $Id: Portfile 19376 2006-09-02 03:19:06Z yeled@macports.org $
PortSystem 1.0
name LyX
version 1.4.3
platforms darwin
categories aqua
maintainers rsorasen@broadpark.no
description WYSIWYM document processor
long_description LyX is an advanced open source document processor \
that encourages an approach to writing based on \
the structure of your documents, not their \
appearance. LyX lets you concentrate on writing, \
leaving details of visual layout to the software.
homepage http://www.lyx.org
master_sites ftp://ftp.devel.lyx.org/pub/lyx/
distname lyx-${version}
checksums ${distname}${extract.suffix} sha1 eec60f3a22d5ed75652d9564b18083b74b6b65d6
worksrcdir lyx-${version}
depends_lib lib:libqt.3.3:qt3-mac
patchfiles patch-ltmain.sh
configure.env CC="gcc" CXX="g++" \
LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz" \
QTDIR="/opt/local" CPPFLAGS="-I/opt/local/include/qt3"
configure.args --with-frontend=qt --without-x --with-included-gettext \
--enable-optimization=-Os --disable-concept-checks \
--prefix=/Applications/MacPorts/LyX.app --with-qt-dir=${prefix}
pre-destroot {
xinstall -m 755 -d ${destroot}/Applications/DarwinPorts
file copy ${worksrcpath}/development/MacOSX/LyX.app ${destroot}/Applications/MacPorts
}
post-destroot {
file delete ${destroot}/Applications/MacPorts/LyX.app/Contents/Resources/LyX/images/lyx.xpm
}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

