diff options
author | rafan <rafan@FreeBSD.org> | 2007-02-13 18:43:35 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-02-13 18:43:35 +0800 |
commit | 28f441a6be52533a062552a981e491f334157aac (patch) | |
tree | 107d2baeaa3e0ea1b9b3a1f5b68d5f018ad77ebf /x11-toolkits/blt/files | |
parent | 4119c5f281b51e44b1ed6787a0743e420bea0a8c (diff) | |
download | freebsd-ports-gnome-28f441a6be52533a062552a981e491f334157aac.tar.gz freebsd-ports-gnome-28f441a6be52533a062552a981e491f334157aac.tar.zst freebsd-ports-gnome-28f441a6be52533a062552a981e491f334157aac.zip |
- Fix build after objformat is gone
PR: ports/108958
Submitted by: CHAO Shin <quakelee at cn.freebsd.org>
Approved by: Kenjiro Cho <kjc at iijlab.net> (maintainer)
Diffstat (limited to 'x11-toolkits/blt/files')
-rw-r--r-- | x11-toolkits/blt/files/patch-aa | 16 |
1 files changed, 5 insertions, 11 deletions
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 ;; |