Commit 70dac7c7 authored by reid's avatar reid
Browse files

[project @ 2001-06-27 06:52:16 by reid]

[After fumbling around in the makefile forest for a while, Sigbjorn
enlightened me as to where one registers new hslib packages.  Golly,
never thought of looking over here.  I'd kinda expected that it would
be in the makeforest since makefiles seem to contain all (or almost
all) the information needed to install a package.  (Any chance this
stuff could be moved into the makeforest in the new library
infrastructure?)  It seems that'd be more effective since it'd be able
to benefit from all that good information that autoconf spent so long
figuring out about your X installation, your platform, your
internationalisation library, etc.]

Oh, yeah, the change... Added xlib to the package list.  Result looks
plausible.
parent 3fde0a65
......@@ -399,6 +399,29 @@ package_details installing
extra_ld_opts = []
}
#endif
,Package {
name = "xlib",
import_dirs = if installing
then [ "$libdir/imports/xlib" ]
else [ "$libdir/hslibs/xlib" ],
source_dirs = [],
library_dirs = if installing
then [ "$libdir" ]
else [ "$libdir/hslibs/xlib"
, "$libdir/hslibs/xlib/cbits" ],
hs_libraries = [ "HSxlib" ],
extra_libraries = [ "HSxlib_cbits", "X11" ],
include_dirs = if installing
then []
else [ "$libdir/hslibs/xlib/cbits" ],
c_includes = [ "HsXlib.h" ],
package_deps = [ "greencard" ],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = []
}
]
where
ghc_src_dir :: String -> String
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment