Bug#502379: Please add support for gfortran

2008-10-16 Thread Julien Danjou
At 1224130670 time_t, Kumar Appaiah wrote:
 Hope the attached patch helps.

Patch pushed.

Cheers,
-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD


signature.asc
Description: Digital signature


Bug#502379: Please add support for gfortran

2008-10-15 Thread Kumar Appaiah
Package: apt-build
Version: 0.12.37
Severity: wishlist
Tags: patch

Hi!

Could you please add support for gfortran? I am sure apt-build would
be useful to those who like to compile their math libraries on their
own machines and use them.

Hope the attached patch helps.

Thanks.

Kumar
-- 
Kumar Appaiah
From f3e84bdfe9a6d5d881a9bfe0227ce5e1b7b4d561 Mon Sep 17 00:00:00 2001
From: Kumar Appaiah [EMAIL PROTECTED]
Date: Wed, 15 Oct 2008 23:15:31 -0500
Subject: [PATCH] Add support for gfortran.

---
 Makefile |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 41f3cf6..8c86023 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 APT_BUILD = apt-build
 APT_BUILD_WRAPPER = apt-build-wrapper
-WRAP_PROGRAMMS = gcc cc g++ c++ make
+WRAP_PROGRAMMS = gcc cc g++ c++ make gfortran
 CFLAGS = -W -Wall -Wextra -std=gnu99 -pipe -Wundef -Wshadow -Wcast-align \
 	 -Wwrite-strings -Wsign-compare -Wunused -Winit-self -Wpointer-arith -Wredundant-decls \
 	 -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -D_GNU_SOURCE -g
@@ -27,7 +27,7 @@ install:	$(APT_BUILD_WRAPPER) $(APT_BUILD)
 		$(LN_S) $(APT_BUILD_WRAPPER) $(APT_BUILD_DIR)/$$prog; \
 	done
 ifneq ($(HOST_TYPE),)
-	for prog in gcc g++; do \
+	for prog in gcc g++ gfortran; do \
 		$(LN_S) $(APT_BUILD_WRAPPER) $(APT_BUILD_DIR)/$$prog-$(HOST_TYPE); \
 	done
 endif
-- 
1.5.6.5



signature.asc
Description: Digital signature


Bug#502379: Please add support for gfortran

2008-10-15 Thread Kumar Appaiah
On Wed, Oct 15, 2008 at 11:17:50PM -0500, Kumar Appaiah wrote:
 Package: apt-build
 Version: 0.12.37
 Severity: wishlist
 Tags: patch
 
 Hi!
 
 Could you please add support for gfortran? I am sure apt-build would
 be useful to those who like to compile their math libraries on their
 own machines and use them.
 
 Hope the attached patch helps.

Just observed; you might need to add gfortran to the dependencies. I
don't know if you are willing to do that, but gfortran support should
definitely be useful, so I think you can add gfortran support
_without_ adding it to the dependencies. If it fails, that's
fine... the package you build should depend on gfortran anyway, so
that can cause the failure, right?

Thanks.

Kumar
-- 
Kumar Appaiah


signature.asc
Description: Digital signature