Mercurial > urweb
view urweb.ebuild @ 1893:9a1097954188
compileC: Link libraries in the right order
This is needed, at least on recent Ubuntu, to fix this linker error
when compiling any Ur/Web application:
ld: /tmp/webapp.o: undefined reference to symbol 'uw_write'
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
src/compiler.sml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
author | Anders Kaseorg <andersk@mit.edu> |
---|---|
date | Thu, 21 Nov 2013 14:32:11 -0500 |
parents | 3b57a6ddef1a |
children |
line wrap: on
line source
# Distributed under the terms of the BSD3 license # This file needs to be renamed to something like "urweb-20110917.ebuild", to reflect the Ur/Web version to use. inherit eutils EAPI=3 DESCRIPTION="A domain-specific functional programming language for modern web applications" HOMEPAGE="http://www.impredicative.com/ur/" SRC_URI="http://www.impredicative.com/ur/${P}.tgz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-lang/mlton dev-libs/openssl" RDEPEND="${DEPEND}" S="${WORKDIR}/urweb" src_unpack() { unpack ${A} } src_configure() { econf || die } src_compile() { emake || die } src_install() { emake DESTDIR=${D} install || die dodoc CHANGELOG || die }