[eso-midas] 01/16: Comple make_options
Ole Streicher
olebole at moszumanska.debian.org
Wed Mar 25 14:16:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository eso-midas.
commit 6a3af338de3b491ba2415cc09bb2d322bc09ef36
Author: Ole Streicher <debian at liska.ath.cx>
Date: Wed Mar 25 12:19:32 2015 +0100
Comple make_options
---
debian/patches/debian_setup.patch | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/debian/patches/debian_setup.patch b/debian/patches/debian_setup.patch
index a739dba..12b34fb 100644
--- a/debian/patches/debian_setup.patch
+++ b/debian/patches/debian_setup.patch
@@ -16,8 +16,11 @@ Description: Debian specific setup
elif [ "$machine" = "x86_64" ]; then
--- /dev/null
+++ b/install/unix/systems/Debian/make_options
-@@ -0,0 +1,10 @@
+@@ -0,0 +1,17 @@
+CC=gcc
++LDCC=gcc $(LDFLAGS)
++FC=gfortran
++LD77_CMD=gfortran $(LDFLAGS)
+F_OPT=
+C_OPT=
+SYS=
@@ -25,15 +28,19 @@ Description: Debian specific setup
+SH_OPT=-fPIC
+SH_CMD=$(MIDASHOME)/$(MIDVERS)/local/make_shared
+GUI_OPT=-DPATH_MAX=1024
++E_OPT=-Z
++STRIP=echo
+EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H
-+EDITLIBS=-lncurses
++EDITLIBS=-lreadline
++UIMX=uimxR5
++INSTALL_FLAG=auto
--- /dev/null
+++ b/install/unix/systems/Debian/make_shared
@@ -0,0 +1,6 @@
+#!/bin/sh
+shift
+library=`basename $1 | sed 's/\.so\..*$//'`
-+gcc $LDFLAGS -shared -Wl,-soname,$1 -o $* -lm
++$LDCC $LDFLAGS -shared -Wl,-soname,$1 -o $* -lm
+rm -f $library.so
+ln -s $1 $library.so
--- /dev/null
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git
More information about the debian-science-commits
mailing list