Link the library with -lX11 -ltk82 so that the tix library can be loaded

safely from a tk program.

Submitted by:	Daniel O'Connor <doconnor@gsoft.com.au>
This commit is contained in:
Jean-Marc Zucconi 2002-05-10 01:13:46 +00:00
parent 5c504a9022
commit bdb7d2aab2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58825
2 changed files with 5 additions and 4 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= tix
PORTVERSION= 4.1.0.007
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-toolkits tk82
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/%SUBDIR%/ \
ftp://ftp.riken.go.jp/pub/lang/tcl/netsoft/%SUBDIR%/

View file

@ -1,5 +1,5 @@
--- configure.orig Mon Feb 15 04:20:06 1999
+++ configure Sun Dec 5 07:03:17 1999
--- configure.orig Mon Feb 15 03:20:06 1999
+++ configure Thu May 9 01:24:55 2002
@@ -14,9 +14,9 @@
ac_help="$ac_help
--enable-gcc allow use of gcc if available"
@ -114,8 +114,9 @@
# The main Tix library
#
- eval "TIX_LIB_FILE=libtix${TCL_SHARED_LIB_SUFFIX}"
- TIX_MAKE_LIB="\${SHLIB_LD} -o ${TIX_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
+ eval "TIX_LIB_FILE=libtix${LIB_VERSION}.so.1"
TIX_MAKE_LIB="\${SHLIB_LD} -o ${TIX_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
+ TIX_MAKE_LIB="\${SHLIB_LD} -o ${TIX_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS} -L${PREFIX}/lib -L\${X11BASE}/lib -lX11 -ltk82"
# The Tcl SAM library
#