Thu Aug 20 03:51:48 PDT 2009 John Meacham <[email protected]> * make 'mock' rpm builds work properly.
New patches:
[make 'mock' rpm builds work properly. John Meacham <[email protected]>**20090820105148 Ignore-this: dab4f58ea96afcfe69285ad12978db66 ] hunk ./configure.ac 21 [RPMRELEASE=$withval], [RPMRELEASE=1]) AC_PROGRAM_REQUIRE(hc,ghc, [ --with-hc=<haskell compiler> Specify location of ghc.]) +if test -z "$HC"; then + echo "The ghc compiler was not found, please specify a location for it with the --with-hc flag" + exit 1 +fi AC_ARG_WITH(hcflags, [ --with-hcflags=HCFLAGS specify flags for Haskell compiler], [HCFLAGS=$withval]) hunk ./configure.ac 39 GHC_CHECK_MODULE(Data.Generics.Instances,syb,,,[]) AC_PROGRAM_REQUIRE(hsc2hs,hsc2hs, [ --with-hsc2hs=<hsc2hs location> Specify location of hsc2hs.]) +if test -z "$HSC2HS"; then + echo "The hsc2hs program not found, please specify a location for it with the --with-hsc2hs flag" + exit 1 +fi jlibpath=${datadir}/$PACKAGE-$SHORTVERSION jetcpath=${sysconfdir}/$PACKAGE-$SHORTVERSION hunk ./docs/building.mkd.in 15 This is by far the easiest way to go about it if you have an rpm based system, an RPM for x86 based systems can be instaled from: -<http://repetae.net/yum/@pack...@-@vers...@-@[email protected]>. +<http://repetae.net/yum/@pack...@-@vers...@-@[email protected]>. There is also a 'src' rpm in the download directory for rebuilding from source. Building from the tarball hunk ./docs/building.mkd.in 28 * haskell library [binary](http://hackage.haskell.org/cgi-bin/hackage-scripts/package/binary) * haskell library [zlib](http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zlib) * haskell library [utf8-string](http://hackage.haskell.org/cgi-bin/hackage-scripts/package/utf8-string) + * haskell library [readline](http://hackage.haskell.org/cgi-bin/hackage-scripts/package/readline) + * haskell library [fgl](http://hackage.haskell.org/cgi-bin/hackage-scripts/package/fgl) You can get the tarball at <http://repetae.net/dist/@pack...@-@[email protected]>. In order hunk ./jhc.spec.in 12 URL: http://repetae.net/computer/jhc/ Packager: John Meacham <[email protected]> Prefix: %{_prefix} +BuildRequires: ghc, ghc-zlib-devel, ghc-utf8-string-devel %description Jhc Haskell compiler. Context: [TAG 0.7.0 John Meacham <[email protected]>**20090820091613 Ignore-this: e1015f5b8cd5906459d681f3ceb7c44b ] Patch bundle hash: 0ce7eb1390b6144357b9d87fea34697cc28e9bc4
_______________________________________________ jhc mailing list [email protected] http://www.haskell.org/mailman/listinfo/jhc
