Package: apt-build
Version: 0.12.37
Severity: normal
Tags: patch

Hi!

I presume that the names of the compile with the host names prepended
are of this form:

% ls /usr/bin/x86_64*
/usr/bin/x86_64-linux-gnu-cpp
/usr/bin/x86_64-linux-gnu-cpp-4.1
/usr/bin/x86_64-linux-gnu-cpp-4.3
/usr/bin/x86_64-linux-gnu-g++
/usr/bin/x86_64-linux-gnu-g++-4.3
/usr/bin/x86_64-linux-gnu-gcc
/usr/bin/x86_64-linux-gnu-gcc-4.1
/usr/bin/x86_64-linux-gnu-gcc-4.3
/usr/bin/x86_64-linux-gnu-gcj-4.3

While apt-build does this:

% ls /usr/lib/apt-build/
...
gcc-x86_64-linux-gnu
g++-x86_64-linux-gnu
...


I have attached a patch to correct this. Hope it helps.

Thanks.

Kumar
-- 
Kumar Appaiah
From 88a7a29baae52a0e5b5164a538c89813d13802f7 Mon Sep 17 00:00:00 2001
From: Kumar Appaiah <[EMAIL PROTECTED]>
Date: Wed, 15 Oct 2008 23:04:01 -0500
Subject: [PATCH] Fix wrapper for compilers with host name.

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

diff --git a/Makefile b/Makefile
index 41f3cf6..9c033bf 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ install:	$(APT_BUILD_WRAPPER) $(APT_BUILD)
 	done
 ifneq ($(HOST_TYPE),)
 	for prog in gcc g++; do \
-		$(LN_S) $(APT_BUILD_WRAPPER) $(APT_BUILD_DIR)/$$prog-$(HOST_TYPE); \
+		$(LN_S) $(APT_BUILD_WRAPPER) $(APT_BUILD_DIR)/$(HOST_TYPE)-$$prog; \
 	done
 endif
 
-- 
1.5.6.5

Attachment: signature.asc
Description: Digital signature

Reply via email to