[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / libtcl-nothread

File: [cvs.NetBSD.org] / pkgsrc / lang / libtcl-nothread / Attic / Makefile (download)

Revision 1.7, Sat Mar 4 21:29:54 2006 UTC (17 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.6: +2 -2 lines

Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.

# $NetBSD: Makefile,v 1.7 2006/03/04 21:29:54 jlam Exp $
#

DISTNAME=		tcl8.4.6-src
PKGNAME=		libtcl-nothread-8.4.6
PKGREVISION=		1
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=tcl/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.tcl.tk/
COMMENT=		TCL library for embedding

DEPENDS+=		tcl>=8.4.6nb5:../../lang/tcl

WRKSRC=			${WRKDIR}/${DISTNAME:C/-src//}/unix
GNU_CONFIGURE=		yes
MAKE_ENV+=		TOUCH=${TOUCH:Q}
MAKE_ENV+=		NOTHREAD_SUFX=-nothread

USE_LIBTOOL=		yes

TCLLIB=			libtcl84-nothread.la
BUILD_TARGET=		${TCLLIB}

# Add ${VIEWBASE}/lib/tcl to the list of locations for Tcl packages.
CONFIGURE_ENV+=		TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"

.include "../../mk/bsd.prefs.mk"

# NetBSD-1.5.x-m68k platforms apparently have a compiler optimization bug
# tickled by the Tcl code that manifests in code generation problems.
#
.if (${MACHINE_PLATFORM:MNetBSD-1.5*-m68k} != "")
CONFIGURE_ENV+=		COMPILER_OPTIMIZATION_BUG=YES
.endif

INSTALLATION_DIRS=	lib

post-configure:
	${SED} 's|tcl84|tcl84-nothread|g' <${WRKSRC}/tclConfig.sh \
		>${WRKSRC}/tclConfig-nothread.sh

do-install:
	cd ${WRKSRC} && \
	${LIBTOOL} --mode=install ${INSTALL_DATA} ${TCLLIB} ${PREFIX}/lib; \
	${INSTALL_DATA} tclConfig-nothread.sh ${PREFIX}/lib

.include "../../mk/bsd.pkg.mk"