Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
a8defd8a
Commit
a8defd8a
authored
Jun 12, 2011
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix building of optional packages
The change to the packages file format broke it
parent
8f1523e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
packages
packages
+4
-1
rules/extra-packages.mk
rules/extra-packages.mk
+1
-1
No files found.
packages
View file @
a8defd8a
# Despite the name "package", this file contains the master list of
# the *repositories* that make up GHC. It is parsed by boot and sync-all.
# the *repositories* that make up GHC. It is parsed by
# * boot
# * sync-all
# * rules/extra-packages.mk
#
# Some of this information is duplicated elsewhere in the build system:
# See Trac #3896
...
...
rules/extra-packages.mk
View file @
a8defd8a
...
...
@@ -27,7 +27,7 @@
# add P to the list of packages
define
extra-packages
$$(foreach
p,$$(patsubst
libraries/%,%,$$(wildcard
$$(shell
grep
'^[^ #][^ ]* \+\(dph\|extra\) \+[^ ]\+ \+[^ ]\+
\+[^ ]\+
'
packages
|
sed
's/ .*//'
))),\
$$(foreach
p,$$(patsubst
libraries/%,%,$$(wildcard
$$(shell
grep
'^[^ #][^ ]* \+\(dph\|extra\) \+[^ ]\+ \+[^ ]\+
$$$$
'
packages
|
sed
's/ .*//'
))),\
$$(if
$$(wildcard
libraries/$$p/ghc-packages),\
$$(eval
BUILD_DIRS
+=
libraries/
$$
p
)
\
$
$(
foreach
q,
$
$(
shell
cat
libraries/
$$
p/ghc-packages2
)
,
$
$(
eval
$
$(
call
extra-package,
$$
p,
$$
p/
$$
q
)))
,
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment