[Debian-astro-commits] [cspice] 06/48: d/patches: Create lib and exe missing directories
Rock Storm
rockstorm-guest at moszumanska.debian.org
Thu Dec 15 21:32:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
rockstorm-guest pushed a commit to branch debian
in repository cspice.
commit 5ed0e9a13f75702da71407f4974fcf19802921c9
Author: Rock Storm <rockstorm at gmx.com>
Date: Mon Oct 31 21:00:20 2016 +0100
d/patches: Create lib and exe missing directories
The installation takes for granted the existence of this two
directories, so if missing, they must be created.
---
.../create-lib-and-exe-missing-directories.patch | 32 ++++++++++++++++++++++
debian/patches/series | 2 +-
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/debian/patches/create-lib-and-exe-missing-directories.patch b/debian/patches/create-lib-and-exe-missing-directories.patch
new file mode 100644
index 0000000..99e40ba
--- /dev/null
+++ b/debian/patches/create-lib-and-exe-missing-directories.patch
@@ -0,0 +1,32 @@
+Subject: Create lib and exe missing directories
+ The installation takes for granted the existence of this two
+ directories, so if missing, they must be created.
+From: Rock Storm <rockstorm at gmx.com>
+
+--- a/makeall.csh
++++ b/makeall.csh
+@@ -4,7 +4,15 @@
+ \echo The script must be executed from the
+ \echo cspice directory.
+ \echo
+-cd src
++#
++# Create empty directories lib and exe.
++#
++if ( ! -d lib ) then
++ mkdir lib
++endif
++if ( ! -d exe ) then
++ mkdir exe
++endif
+
+ #
+ # Set common compiler and linker options.
+@@ -18,6 +26,7 @@ else
+ setenv TKLINKOPTIONS "-lm -m32"
+ endif
+
++cd src
+ \echo
+ \echo Creating cspice
+ \echo
diff --git a/debian/patches/series b/debian/patches/series
index b043f4d..3c95261 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,3 @@
add-support-for-amd64-architecture.patch
create-and-link-to-shared-libraries.patch
-
+create-lib-and-exe-missing-directories.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cspice.git
More information about the Debian-astro-commits
mailing list