mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- 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)
This commit is contained in:
parent
5d1eefff07
commit
818730a50f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185088
@ -22,6 +22,9 @@ PATCH_DIST_STRIP= -p1
|
||||
MAINTAINER= kjc@iijlab.net
|
||||
COMMENT= A Tk extension (with shared libs)
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
|
||||
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
||||
|
||||
WRKSRC= ${WRKDIR}/blt2.4z
|
||||
@ -36,7 +39,6 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
|
||||
--with-tkincls=${LOCALBASE}/include/tk${TK_VER} \
|
||||
--x-libraries=${X11BASE}/lib \
|
||||
--x-includes=${X11BASE}/include
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
TK_VER?= 8.4
|
||||
|
||||
|
@ -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
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user