From 28f441a6be52533a062552a981e491f334157aac Mon Sep 17 00:00:00 2001 From: rafan Date: Tue, 13 Feb 2007 10:43:35 +0000 Subject: - Fix build after objformat is gone PR: ports/108958 Submitted by: CHAO Shin Approved by: Kenjiro Cho (maintainer) --- x11-toolkits/blt/files/patch-aa | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'x11-toolkits/blt/files') diff --git a/x11-toolkits/blt/files/patch-aa b/x11-toolkits/blt/files/patch-aa index 6d169b341160..4a54dc32633e 100644 --- a/x11-toolkits/blt/files/patch-aa +++ b/x11-toolkits/blt/files/patch-aa @@ -1,5 +1,5 @@ ---- configure.orig Thu Aug 28 15:41:03 2003 -+++ configure Thu Aug 28 15:49:25 2003 +--- configure.orig Fri Oct 4 13:33:59 2002 ++++ configure Tue Feb 13 16:39:48 2007 @@ -1202,7 +1202,7 @@ # # 1. command line (--with-cflags) @@ -43,19 +43,13 @@ TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}" TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}" ;; -@@ -4111,7 +4113,14 @@ +@@ -4111,7 +4113,8 @@ if test "$test_ok" = yes; then SHLIB_CFLAGS="-fpic" SHLIB_LD="ld" - SHLIB_LD_FLAGS="-Bshareable -x" -+ if test `objformat` = "elf"; then -+ SHLIB_LD_FLAGS="-Bshareable -x -soname \$@" -+ SHLIB_SUFFIX=".so.3" -+ else -+ SHLIB_LD_FLAGS="-Bshareable -x" -+ SHLIB_SUFFIX=".so.3.0" -+ fi -+ ++ SHLIB_LD_FLAGS="-Bshareable -x -soname \$@" ++ SHLIB_SUFFIX=".so.3" fi ;; -- cgit