FreeBSD Bugzilla – Attachment 80767 Details for
Bug 115788
lang/itcl - Modernization and adoption
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
lang_itcl.patch
lang_itcl.patch (text/plain), 2.70 KB, created by
Erik Greenwald
on 2007-08-24 19:20:01 UTC
(
hide
)
Description:
lang_itcl.patch
Filename:
MIME Type:
Creator:
Erik Greenwald
Created:
2007-08-24 19:20:01 UTC
Size:
2.70 KB
patch
obsolete
>Index: lang/itcl/Makefile >=================================================================== >RCS file: /home/ncvs/ports/lang/itcl/Makefile,v >retrieving revision 1.43 >diff -u -r1.43 Makefile >--- lang/itcl/Makefile 15 Aug 2006 00:29:07 -0000 1.43 >+++ lang/itcl/Makefile 24 Aug 2007 17:57:40 -0000 >@@ -7,22 +7,21 @@ > > PORTNAME= itcl > PORTVERSION= 3.3 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= lang tcl84 > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR=incrtcl > DISTNAME= itcl${PORTVERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= erik@smluc.org > COMMENT= [incr Tcl] (A.K.A. "itcl") > >-LIB_DEPENDS= tcl84:${PORTSDIR}/lang/tcl84 >+USE_TCL= 84+ > > USE_LDCONFIG= yes >-PKGINSTALL= ${PORTSDIR}/lang/tcl84/pkg-install.tclsh >-PKGDEINSTALL= ${PORTSDIR}/lang/tcl84/pkg-deinstall.tclsh > MAKE_ENV+= ${PLIST_SUB} \ >- SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} >+ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ >+ USE_TCL=${USE_TCL} TCL_INCLUDEDIR=${TCL_INCLUDEDIR} > > .if defined(MAKE_JOBS) > MAKE_ARGS+= -j${MAKE_JOBS} >@@ -43,12 +42,18 @@ > > ITCL_LIB_FILE= ${ITCL_LIB}.${SHLIB_MAJOR} > >+# need to split the bsd.port.mk up to get the USE_TCL test to work in here >+.include <bsd.port.pre.mk> >+ > post-build test: > cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \ >- ${PREFIX}/bin/tclsh8.4 tests/all.tcl -load "load ./${ITCL_LIB}" >+ ${TCLSH} tests/all.tcl -load "load ./${ITCL_LIB}" >+.if ${USE_TCL} != 85 >+ @${ECHO} "ensemble.test fails due to changed error message. It's OK." >+.endif > > post-install: > ${INSTALL_DATA} ${WRKSRC}/doc/*.n ${PREFIX}/man/mann/ > ${INSTALL_DATA} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3/ > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: lang/itcl/files/Makefile.lib >=================================================================== >RCS file: /home/ncvs/ports/lang/itcl/files/Makefile.lib,v >retrieving revision 1.10 >diff -u -r1.10 Makefile.lib >--- lang/itcl/files/Makefile.lib 22 May 2006 17:21:08 -0000 1.10 >+++ lang/itcl/files/Makefile.lib 24 Aug 2007 17:57:40 -0000 >@@ -1,8 +1,8 @@ >-NOPROFILE= yes >+NO_PROFILE= yes > LIB= itcl > ITCL_LIBRARY= ${PREFIX}/lib/itcl${MAJOR}.${MINOR} > CFLAGS+= -I. -I./../generic \ >- -I${PREFIX}/include/tcl8.4/generic \ >+ -I${TCL_INCLUDEDIR}/generic \ > -DHAVE_GETCWD=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1\ > -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1\ > -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1\ >@@ -11,7 +11,11 @@ > -DHAVE_SYS_FILIO_H=1 \ > -DRETSIGTYPE=void \ > -DITCL_LIBRARY=\"${ITCL_LIBRARY}\" >-LDADD+= -L${PREFIX}/lib -ltcl84 >+LDADD+= -L${PREFIX}/lib -ltcl${USE_TCL} >+ >+.if ${USE_TCL} >= 85 >+LDADD+= -ltclstub${USE_TCL} >+.endif > > .PATH: ${.CURDIR}/unix ${.CURDIR}/generic ${.CURDIR}/man
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 115788
: 80767