Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
ae72be1b
Commit
ae72be1b
authored
12 years ago
by
Eelco Dolstra
Browse files
Options
Downloads
Patches
Plain Diff
Add WWW::Curl as a dependency
parent
09912543
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+11
-0
11 additions, 0 deletions
configure.ac
release.nix
+3
-0
3 additions, 0 deletions
release.nix
with
14 additions
and
0 deletions
configure.ac
+
11
−
0
View file @
ae72be1b
...
...
@@ -261,6 +261,10 @@ AC_ARG_WITH(dbd-sqlite, AC_HELP_STRING([--with-dbd-sqlite=PATH],
[prefix of the Perl DBD::SQLite library]),
perlFlags="$perlFlags -I$withval")
AC_ARG_WITH(www-curl, AC_HELP_STRING([--with-www-curl=PATH],
[prefix of the Perl WWW::Curl library]),
perlFlags="$perlFlags -I$withval")
AC_MSG_CHECKING([whether DBD::SQLite works])
if ! $perl $perlFlags -e 'use DBI; use DBD::SQLite;' 2>&5; then
AC_MSG_RESULT(no)
...
...
@@ -268,6 +272,13 @@ if ! $perl $perlFlags -e 'use DBI; use DBD::SQLite;' 2>&5; then
fi
AC_MSG_RESULT(yes)
AC_MSG_CHECKING([whether WWW::Curl works])
if ! $perl $perlFlags -e 'use WWW::Curl;' 2>&5; then
AC_MSG_RESULT(no)
AC_MSG_FAILURE([The Perl module WWW::Curl is missing.])
fi
AC_MSG_RESULT(yes)
AC_SUBST(perlFlags)
...
...
This diff is collapsed.
Click to expand it.
release.nix
+
3
−
0
View file @
ae72be1b
...
...
@@ -29,6 +29,7 @@ let
--with-xml-flags=--nonet
--with-dbi=
${
perlPackages
.
DBI
}
/
${
perl
.
libPrefix
}
--with-dbd-sqlite=
${
perlPackages
.
DBDSQLite
}
/
${
perl
.
libPrefix
}
--with-www-curl=
${
perlPackages
.
WWWCurl
}
/
${
perl
.
libPrefix
}
''
;
postUnpack
=
''
...
...
@@ -77,6 +78,7 @@ let
--disable-init-state
--with-dbi=
${
perlPackages
.
DBI
}
/
${
perl
.
libPrefix
}
--with-dbd-sqlite=
${
perlPackages
.
DBDSQLite
}
/
${
perl
.
libPrefix
}
--with-www-curl=
${
perlPackages
.
WWWCurl
}
/
${
perl
.
libPrefix
}
--enable-gc
''
;
...
...
@@ -134,6 +136,7 @@ let
--disable-init-state
--with-dbi=
${
perlPackages
.
DBI
}
/
${
perl
.
libPrefix
}
--with-dbd-sqlite=
${
perlPackages
.
DBDSQLite
}
/
${
perl
.
libPrefix
}
--with-www-curl=
${
perlPackages
.
WWWCurl
}
/
${
perl
.
libPrefix
}
''
;
dontInstall
=
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment