summaryrefslogtreecommitdiff
path: root/x11-toolkits/tix/Makefile
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-05 06:46:34 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-05 06:46:34 +0000
commit7a2c4ae39ec7b47d87c497902f662674fd5efe58 (patch)
tree83cc8e671981b1d1b4f825b134dbfd2d25c37eae /x11-toolkits/tix/Makefile
parentCorrect distfile fennerage by upgrading library to version 6/10. (diff)
Unbreak the update to to use Tcl/Tk 8.2. The key is to compile with
-fwritable-strings (it would probably better to find and fix the specific portion of Tix code responsible of the core dump but that's not easy) Install libs and program with the 82 or 8.2 suke the name (instead of 80 or 8.0 resp.)
Notes
Notes: svn path=/head/; revision=23600
Diffstat (limited to 'x11-toolkits/tix/Makefile')
-rw-r--r--x11-toolkits/tix/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/x11-toolkits/tix/Makefile b/x11-toolkits/tix/Makefile
index 0133b957df46..d07b3812b266 100644
--- a/x11-toolkits/tix/Makefile
+++ b/x11-toolkits/tix/Makefile
@@ -9,7 +9,7 @@
DISTNAME= Tix4.1.0.007
PKGNAME= tix-4.1.0.007
CATEGORIES= x11-toolkits tk82
-MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/%SUBDIR%/ \
+MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/%SUBDIR%/ \
ftp://ftp.riken.go.jp/pub/lang/tcl/netsoft/%SUBDIR%/
MASTER_SITE_SUBDIR= sorted/packages-8.0/x11/Tix/4.1.0.007
@@ -17,8 +17,6 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
-BROKEN= "Bus error (core dumped) with tk82"
-
WRKSRC= ${WRKDIR}/Tix4.1.0.007/unix/tk8.0
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --enable-sam \
@@ -36,14 +34,12 @@ MANN= BtnBox.n Balloon.n ChkList.n Destroy.n ComboBox.n Control.n \
Select.n StdBBox.n TixIntro.n Tree.n Utils.n Wm.n compound.n \
pixmap.n tix.n
-TIX_LIB= libtix4180.so
-TIXSAM_LIB= libtixsam4180.so
+TIX_LIB= libtix4182.so
+TIXSAM_LIB= libtixsam4182.so
+CFLAGS+= -fwritable-strings
.include <bsd.port.pre.mk>
-TIX_LIB_FILE= ${TIX_LIB}.1
-TIXSAM_LIB_FILE=${TIXSAM_LIB}.1
-
pre-configure:
@(cd ${WRKSRC}/.. && \
CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
@@ -54,7 +50,7 @@ pre-configure:
post-install:
@(cd ${WRKSRC}/.. && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
- ${LN} -fs ${PREFIX}/bin/tixwish4.1.8.0 ${PREFIX}/bin/tixwish
+ ${LN} -fs ${PREFIX}/bin/tixwish4.1.8.2 ${PREFIX}/bin/tixwish
${LN} -fs ${TIX_LIB_FILE} ${PREFIX}/lib/${TIX_LIB}
${LN} -fs ${TIXSAM_LIB_FILE} ${PREFIX}/lib/${TIXSAM_LIB}
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib