Switch to Tcl/Tk-8.4.

Bump PKGREVISION due to dependency changes.
This commit is contained in:
minskim 2005-01-22 03:58:32 +00:00
parent 9b658e69c8
commit f8b8a56802
3 changed files with 14 additions and 12 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.32 2004/03/08 20:27:17 minskim Exp $ # $NetBSD: Makefile,v 1.33 2005/01/22 03:58:32 minskim Exp $
DISTNAME= XF86Setup-3.3.6 DISTNAME= XF86Setup-3.3.6
PKGREVISION= 1 PKGREVISION= 2
CATEGORIES= x11 CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2 EXTRACT_SUFX= .tar.bz2
@ -10,17 +10,13 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.xfree86.org/ HOMEPAGE= http://www.xfree86.org/
COMMENT= Graphical configuration tool for XFree86 COMMENT= Graphical configuration tool for XFree86
BUILD_DEPENDS= tcl>=8.3.2:../../lang/tcl83
BUILD_DEPENDS+= tk>=8.3.2:../../x11/tk83
ONLY_FOR_PLATFORM= *-*-i386 ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}/hw/xfree86/XF86Setup WRKSRC= ${WRKDIR}/hw/xfree86/XF86Setup
TCLLIB= ${LOCALBASE}/lib/libtcl83.a
TKLIB= ${LOCALBASE}/lib/libtk83.a
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
USE_BUILDLINK3= yes
USE_IMAKE= yes USE_IMAKE= yes
.if !defined(X11_RELEASE) && !defined(CHECK_X11) .if !defined(X11_RELEASE) && !defined(CHECK_X11)
@ -31,7 +27,13 @@ PKG_SKIP_REASON= "This package doesn't work with your X11 distribution."
.endif .endif
.endif .endif
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
pre-configure: pre-configure:
${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.tmp
${SED} -e "s/TCLTK_LIBRARIES =/TCLTK_LIBRARIES = `${GREP} TCL_LIBS ${TCLCONFIG_SH} | ${AWK} -F \"'\" '{ print $$2 }'`/" \
< ${WRKSRC}/Imakefile.tmp > ${WRKSRC}/Imakefile
@${TOUCH} ${WRKSRC}/res_cpp_symbol @${TOUCH} ${WRKSRC}/res_cpp_symbol
${CP} ${WRKSRC}/main.c ${WRKSRC}/main.c.orig ${CP} ${WRKSRC}/main.c ${WRKSRC}/main.c.orig
${SED} -e 's:PKG_PREFIX:${PREFIX}:g' ${WRKSRC}/main.c.orig > ${WRKSRC}/main.c ${SED} -e 's:PKG_PREFIX:${PREFIX}:g' ${WRKSRC}/main.c.orig > ${WRKSRC}/main.c

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.3 2001/07/22 21:26:41 agc Exp $ $NetBSD: distinfo,v 1.4 2005/01/22 03:58:32 minskim Exp $
SHA1 (XF86Setup-3.3.6.tar.bz2) = 591bc872dfcd675a4ab07b857b4ed70f0d9141d9 SHA1 (XF86Setup-3.3.6.tar.bz2) = 591bc872dfcd675a4ab07b857b4ed70f0d9141d9
Size (XF86Setup-3.3.6.tar.bz2) = 395303 bytes Size (XF86Setup-3.3.6.tar.bz2) = 395303 bytes
SHA1 (patch-aa) = 050e3d59220bbcfa1e64e202d219bf7018acda7b SHA1 (patch-aa) = e57e3aa582008c8771384e79e28b866480599cc5
SHA1 (patch-ab) = ee820199301bbdfbe6cfd9f1a4cf08ff32041750 SHA1 (patch-ab) = ee820199301bbdfbe6cfd9f1a4cf08ff32041750
SHA1 (patch-ac) = dd92b1bbd264ec520a16ad1e1968634c011c5857 SHA1 (patch-ac) = dd92b1bbd264ec520a16ad1e1968634c011c5857
SHA1 (patch-ad) = 7231396c7686fa1d93fc70f9bfef22cf5be3fc6c SHA1 (patch-ad) = 7231396c7686fa1d93fc70f9bfef22cf5be3fc6c

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.7 2001/07/22 21:26:41 agc Exp $ $NetBSD: patch-aa,v 1.8 2005/01/22 03:58:32 minskim Exp $
--- Imakefile.orig Tue Jul 20 19:23:50 1999 --- Imakefile.orig Tue Jul 20 19:23:50 1999
+++ Imakefile Sun Jul 22 23:13:29 2001 +++ Imakefile Sun Jul 22 23:13:29 2001
@ -12,12 +12,12 @@ $NetBSD: patch-aa,v 1.7 2001/07/22 21:26:41 agc Exp $
+ +
+TCLLIBDIR= $(LOCALBASE)/lib +TCLLIBDIR= $(LOCALBASE)/lib
+TCLINCDIR= $(LOCALBASE)/include +TCLINCDIR= $(LOCALBASE)/include
+TCLLIBNAME= tcl83 +TCLLIBNAME= tcl
+TCLLIBRARY= -L$(TCLLIBDIR) -l$(TCLLIBNAME) +TCLLIBRARY= -L$(TCLLIBDIR) -l$(TCLLIBNAME)
+ +
+TKLIBDIR= $(LOCALBASE)/lib +TKLIBDIR= $(LOCALBASE)/lib
+TKINCDIR= $(LOCALBASE)/include +TKINCDIR= $(LOCALBASE)/include
+TKLIBNAME= tk83 +TKLIBNAME= tk
+TKLIBRARY= -L$(TKLIBDIR) -l$(TKLIBNAME) +TKLIBRARY= -L$(TKLIBDIR) -l$(TKLIBNAME)
+ +
#if XF86SetupUsesStaticTk #if XF86SetupUsesStaticTk