head	1.36;
access;
symbols
	pkgsrc-2013Q2:1.36.0.18
	pkgsrc-2013Q2-base:1.36
	pkgsrc-2012Q4:1.36.0.16
	pkgsrc-2012Q4-base:1.36
	pkgsrc-2011Q4:1.36.0.14
	pkgsrc-2011Q4-base:1.36
	pkgsrc-2011Q2:1.36.0.12
	pkgsrc-2011Q2-base:1.36
	TNF:1.1.1
	pkgsrc-2009Q4:1.36.0.10
	pkgsrc-2009Q4-base:1.36
	pkgsrc-2008Q4:1.36.0.8
	pkgsrc-2008Q4-base:1.36
	pkgsrc-2008Q3:1.36.0.6
	pkgsrc-2008Q3-base:1.36
	cube-native-xorg:1.36.0.4
	cube-native-xorg-base:1.36
	pkgsrc-2008Q2:1.36.0.2
	pkgsrc-2008Q2-base:1.36
	pkgsrc-2008Q1:1.35.0.2
	pkgsrc-2008Q1-base:1.35
	pkgsrc-2007Q4:1.34.0.4
	pkgsrc-2007Q4-base:1.34
	pkgsrc-2007Q3:1.34.0.2
	pkgsrc-2007Q3-base:1.34
	pkgsrc-2007Q2:1.32.0.4
	pkgsrc-2007Q2-base:1.32
	pkgsrc-2007Q1:1.32.0.2
	pkgsrc-2007Q1-base:1.32
	pkgsrc-2006Q4:1.31.0.6
	pkgsrc-2006Q4-base:1.31
	pkgsrc-2006Q3:1.31.0.4
	pkgsrc-2006Q3-base:1.31
	pkgsrc-2006Q2:1.31.0.2
	pkgsrc-2006Q2-base:1.31
	pkgsrc-2006Q1:1.29.0.4
	pkgsrc-2006Q1-base:1.29
	pkgsrc-2005Q4:1.29.0.2
	pkgsrc-2005Q4-base:1.29
	pkgsrc-2005Q3:1.28.0.2
	pkgsrc-2005Q3-base:1.28
	pkgsrc-2005Q2:1.27.0.2
	pkgsrc-2005Q2-base:1.27
	pkgsrc-2005Q1:1.26.0.2
	pkgsrc-2005Q1-base:1.26
	pkgsrc-2004Q4:1.25.0.2
	pkgsrc-2004Q4-base:1.25
	pkgsrc-2004Q3:1.20.0.2
	pkgsrc-2004Q3-base:1.20
	pkgsrc-2004Q2:1.16.0.4
	pkgsrc-2004Q2-base:1.16
	pkgsrc-2004Q1:1.16.0.2
	pkgsrc-2004Q1-base:1.16
	pkgsrc-2003Q4:1.12.0.2
	pkgsrc-2003Q4-base:1.12
	netbsd-1-6-1:1.5.0.2
	netbsd-1-6-1-base:1.5
	netbsd-1-6:1.4.0.8
	netbsd-1-6-RELEASE-base:1.4
	pkgviews:1.4.0.4
	pkgviews-base:1.4
	buildlink2:1.4.0.2
	buildlink2-base:1.4
	netbsd-1-5-PATCH003:1.4
	tnf_020116:1.1.1.1;
locks; strict;
comment	@# @;


1.36
date	2008.04.25.16.11.11;	author tnn;	state dead;
branches;
next	1.35;

1.35
date	2008.01.18.05.06.44;	author tnn;	state Exp;
branches;
next	1.34;

1.34
date	2007.07.02.20.24.27;	author adrianp;	state Exp;
branches;
next	1.33;

1.33
date	2007.07.01.00.17.01;	author adrianp;	state Exp;
branches;
next	1.32;

1.32
date	2007.03.01.18.33.54;	author wiz;	state Exp;
branches;
next	1.31;

1.31
date	2006.06.16.23.28.36;	author rillig;	state Exp;
branches;
next	1.30;

1.30
date	2006.04.13.02.26.54;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2005.11.16.19.18.58;	author joerg;	state Exp;
branches;
next	1.28;

1.28
date	2005.08.19.06.06.09;	author grant;	state Exp;
branches;
next	1.27;

1.27
date	2005.04.11.21.46.15;	author tv;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2005.01.30.12.44.39;	author jmmv;	state Exp;
branches;
next	1.25;

1.25
date	2004.12.19.05.34.07;	author grant;	state Exp;
branches;
next	1.24;

1.24
date	2004.11.22.21.48.08;	author wiz;	state Exp;
branches;
next	1.23;

1.23
date	2004.11.15.17.54.49;	author jlam;	state Exp;
branches;
next	1.22;

1.22
date	2004.10.31.13.23.03;	author recht;	state Exp;
branches;
next	1.21;

1.21
date	2004.10.03.00.15.02;	author tv;	state Exp;
branches;
next	1.20;

1.20
date	2004.08.29.10.44.19;	author recht;	state Exp;
branches;
next	1.19;

1.19
date	2004.08.27.06.29.08;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2004.07.22.09.16.03;	author recht;	state Exp;
branches;
next	1.17;

1.17
date	2004.07.19.22.26.57;	author recht;	state Exp;
branches;
next	1.16;

1.16
date	2004.03.26.02.27.42;	author wiz;	state Exp;
branches;
next	1.15;

1.15
date	2004.01.27.18.55.30;	author abs;	state Exp;
branches;
next	1.14;

1.14
date	2004.01.25.16.06.47;	author recht;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.20.12.19.17;	author agc;	state Exp;
branches;
next	1.12;

1.12
date	2003.11.12.03.39.40;	author jschauma;	state Exp;
branches;
next	1.11;

1.11
date	2003.08.18.09.14.15;	author drochner;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.17.21.45.13;	author grant;	state Exp;
branches;
next	1.9;

1.9
date	2003.06.06.19.39.04;	author drochner;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.06.18.14.10;	author drochner;	state Exp;
branches;
next	1.7;

1.7
date	2003.03.29.12.41.31;	author jmmv;	state Exp;
branches;
next	1.6;

1.6
date	2003.03.14.19.37.44;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.25.12.45.00;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	2002.01.28.11.51.23;	author drochner;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.28.09.07.23;	author drochner;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.16.20.26.44;	author drochner;	state Exp;
branches;
next	1.1;

1.1
date	2002.01.16.18.40.48;	author drochner;	state Exp;
branches
	1.1.1.1;
next	;

1.27.2.1
date	2005.08.20.16.03.20;	author salo;	state Exp;
branches;
next	;

1.1.1.1
date	2002.01.16.18.40.48;	author drochner;	state Exp;
branches;
next	;


desc
@@


1.36
log
@De-orbit support for python 2.0 and python 2.2 under the "three major
releases is enough" rule of thumb. (python 2.3 was released 5 years ago.)
Keep python 1.5 and 2.1 though, because there are a handful of packages
that still need them.
@
text
@# $NetBSD: Makefile,v 1.35 2008/01/18 05:06:44 tnn Exp $
#

DISTNAME=	Python-2.0.1
PKGNAME=	python20-2.0.1
PKGREVISION=	14
CATEGORIES=	lang python
MASTER_SITES=	ftp://ftp.python.org/pub/python/2.0.1/
EXTRACT_SUFX=	.tgz

MAINTAINER=	tsarna@@NetBSD.org
HOMEPAGE=	http://www.python.org/
COMMENT=	Interpreted, interactive, object-oriented programming language

CONFLICTS+=	python-[0-9]*
CONFLICTS+=	python-2.0.*

PLIST_SRC=	${WRKDIR}/.PLIST_SRC

WRKSRC=		${WRKDIR}/Python-2.0.1
DIST_SUBDIR=	python

USE_LANGUAGES=	c c++
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--without-threads
INSTALL_TARGET=	altinstall

# Make sure having environment variable OPT doesn't affect the
# installed module-building Makefile
MAKE_ENV+=	'OPT=${CFLAGS}'
CONFIGURE_ENV+=	'OPT=${CFLAGS}'

SSLFLAGS=	-DUSE_SSL -I${BUILDLINK_PREFIX.openssl}/include/openssl \
		-L${BUILDLINK_PREFIX.openssl}/lib \
		${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib -lssl -lcrypto
FIX_RPATH+=	SSLFLAGS

# Handle the module setup file:
#   - disable a few broken modules on 64 bit platforms (nothing important)

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

.if ${OPSYS} == "NetBSD"
PRIVILEGED_STAGES+=	clean
.endif

.if ${OPSYS} == "SunOS"
ZOULARIS?=	${PREFIX}/bsd
MODADD=		-I${ZOULARIS}/include -L${ZOULARIS}/lib ${COMPILER_RPATH_FLAG}${ZOULARIS}/lib
FIX_RPATH+=	MODADD
.endif

REPLACE_INTERPRETER+=	py
REPLACE.py.old=		.*python
REPLACE.py.new=		${PREFIX}/bin/python2.0
REPLACE_FILES.py=	Lib/cgi.py

post-install:
	${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
	(cd ${PREFIX}; ${FIND} lib/python2.0 -type f -print | \
		${GREP} -v site-packages >>${PLIST_SRC})
	${ECHO} lib/python2.0/site-packages/README >>${PLIST_SRC}
	(cd ${PREFIX}; ${FIND} include/python2.0 -type f -print \
		>>${PLIST_SRC})
	(cd ${PREFIX}; ${FIND} -d include/python2.0 -type d -print | \
		${SED} -e "s/^/@@dirrm /" >>${PLIST_SRC})
	(cd ${PREFIX}; ${FIND} -d lib/python2.0 -type d -print | \
		${GREP} -v site-packages | \
		${GREP} -vx lib/python2.0 | \
		${SED} -e "s/^/@@dirrm /" >>${PLIST_SRC})
	${ECHO} "@@dirrm lib/python2.0/site-packages" >>${PLIST_SRC}
	${ECHO} "@@dirrm lib/python2.0" >>${PLIST_SRC}
	# Reinstall Python binary to get it stripped
	${RM} ${PREFIX}/bin/python2.0
	${INSTALL_PROGRAM} ${WRKSRC}/python ${PREFIX}/bin/python2.0

.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.35
log
@Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2007/07/02 20:24:27 adrianp Exp $
@


1.34
log
@s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multiple
stages in the future.  Suggested by rillig@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2007/07/01 00:17:01 adrianp Exp $
d6 1
a6 1
PKGREVISION=	13
@


1.33
log
@Add PRIVILEGED_STAGE+= clean (NetBSD only)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2007/03/01 18:33:54 wiz Exp $
d44 1
a44 1
PRIVILEGED_STAGE+=	clean
@


1.32
log
@SCRIPTS_ENV is unused here, do not modify it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/06/16 23:28:36 rillig Exp $
d43 4
@


1.31
log
@Fixed missing Python interpreter. Bumped PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/04/13 02:26:54 joerg Exp $
a31 1
SCRIPTS_ENV+=	'OPT=${CFLAGS}'
@


1.30
log
@Strip of anything after the version number in distutils.util.get_platform
on DragonFly. Since that version is used e.g. as part of the file name
for python eggs, it makes handling easier to match normal pkgsrc
platform policy. Bump revisions of all Python packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2005/11/16 19:18:58 joerg Exp $
d6 1
a6 1
PKGREVISION=	12
d50 5
@


1.29
log
@Fix Python's makesetup script to treat -pthread as linker flag.
This is needed for databases/py-psycopg at least to compile properly.
Since the installed version changed, bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/08/19 06:06:09 grant Exp $
d6 1
a6 1
PKGREVISION=	11
@


1.28
log
@nuke broken pre-configure target, which does nothing useful.

it was broken because the delimeter , can appear in the RHS of the
sed(1) expression (think "-Wl,-R ..."), and it does nothing useful
because the patterns don't appear in the files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2005/04/11 21:46:15 tv Exp $
d6 1
a6 1
PKGREVISION=	10
@


1.27
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/01/30 12:44:39 jmmv Exp $
a49 9
pre-configure:
	${SED}  -e 's,@@NOSHARED@@,${NOSHARED},g' \
		-e 's,@@MODADD@@,${MODADD},g' \
		-e 's+@@SSLFLAGS@@+${SSLFLAGS}+g' \
		${FILESDIR}/Setup.in >${WRKSRC}/Modules/Setup.in
	${SED}  -e 's,@@NOSHARED@@,${NOSHARED},g' \
		-e 's,@@MODADD@@,${MODADD},g' \
		${FILESDIR}/Setup.config.in >${WRKSRC}/Modules/Setup.config.in

@


1.27.2.1
log
@Pullup ticket 698 - requested by Grant Beattie
portability fix for python20

Revisions pulled up:
- pkgsrc/lang/python20/Makefile			1.28
- pkgsrc/lang/python20/distinfo			1.9
- pkgsrc/lang/python20/patches/patch-ab		1.2
- pkgsrc/lang/python20/patches/patch-ad		1.2
- pkgsrc/lang/python20/patches/patch-ae		1.1
- pkgsrc/lang/python20/patches/patch-af		1.1

   Module Name:		pkgsrc
   Committed By:	grant
   Date:		Fri Aug 19 06:06:09 UTC 2005

   Modified Files:
   	pkgsrc/lang/python20: Makefile

   Log Message:
   nuke broken pre-configure target, which does nothing useful.

   it was broken because the delimeter , can appear in the RHS of the
   sed(1) expression (think "-Wl,-R ..."), and it does nothing useful
   because the patterns don't appear in the files.
---
   Module Name:		pkgsrc
   Committed By:	grant
   Date:		Fri Aug 19 06:12:09 UTC 2005

   Modified Files:
   	pkgsrc/lang/python20: distinfo
   	pkgsrc/lang/python20/patches: patch-ab patch-ad
   Added Files:
   	pkgsrc/lang/python20/patches: patch-ae patch-af

   Log Message:
   include LDFLAGS when linking shared libraries, so they can find their
   prerequisite libraries at runtime.

   fixes build on Solaris (and probably others).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/08/19 06:06:09 grant Exp $
d50 9
@


1.26
log
@Convert the python packages to use the alternatives system to install a
bin/python wrapper.  Bump their PKGREVISION to 1.

Also remove the python package.  In order to preserve a similar behavior to
this one using the new framework, start by installing pkg_alternatives.
Then just open its manpage, scroll down to the EXAMPLES section, Applying
filters subsection, and follow the (rather short) directions given there.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2004/12/19 05:34:07 grant Exp $
a23 1
USE_BUILDLINK3=	yes
@


1.25
log
@all of these use dlopen().
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2004/11/22 21:48:08 wiz Exp $
d6 1
a6 1
PKGREVISION=	9
d15 1
@


1.24
log
@USE_LANGUAGES=c c++; remove USE_GCC_SHLIB.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2004/11/15 17:54:49 jlam Exp $
d81 1
@


1.23
log
@Rework the Berkeley DB detection in buildlink3:

  * Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2004/10/31 13:23:03 recht Exp $
d22 1
a22 1
USE_GCC_SHLIB=	yes
@


1.22
log
@fix build on IRIX

patch based upon the one Georg Schwarz provided in PR pkg/27402
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2004/10/03 00:15:02 tv Exp $
a26 2
# ensure that the bsddb185 module is built on all platforms
USE_DB185=	yes
@


1.21
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2004/08/29 10:44:19 recht Exp $
d27 2
d82 1
@


1.20
log
@Extend some checks to also test for netbsd2 as sys.platform.

Bump PKGREVISIONS accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2004/08/27 06:29:08 jlam Exp $
d6 1
a6 1
PKGREVISION=	8
@


1.19
log
@Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2004/07/22 09:16:03 recht Exp $
d6 1
a6 1
PKGREVISION=	7
@


1.18
log
@add python as category
ok'd a while back at pkgsrcCon by agc and wiz
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2004/07/19 22:26:57 recht Exp $
d36 1
a36 1
		-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib -lssl -lcrypto
d46 1
a46 1
MODADD=		-I${ZOULARIS}/include -L${ZOULARIS}/lib ${RPATH_FLAG}${ZOULARIS}/lib
@


1.17
log
@Add missing zlib include.
Noted by Georg Schwarz on tech-pkg@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/03/26 02:27:42 wiz Exp $
d7 1
a7 1
CATEGORIES=	lang
@


1.16
log
@PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2004/01/27 18:55:30 abs Exp $
d78 1
@


1.15
log
@Add USE_GCC_SHLIB to python2 packages:
    python20 to python20-2.0.1nb6
    python21 to python21-2.1.3nb2
    python21-pth to python21-2.1.3nb4
    python22 to python22-2.2.3nb1
    python22-pth to python22-2.2.3nb1
    python23 to python23-2.3.3nb1
    python23-pth to python23-2.3.3nb1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/01/25 16:06:47 recht Exp $
d6 1
a6 1
PKGREVISION=	6
@


1.14
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/01/20 12:19:17 agc Exp $
d6 1
a6 1
PKGREVISION=	5
d22 1
@


1.13
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2003/11/12 03:39:40 jschauma Exp $
d22 1
a22 1
USE_BUILDLINK2=	yes
d77 1
a77 1
.include "../../security/openssl/buildlink2.mk"
@


1.12
log
@PKGREVISION++ after openssl update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2003/08/18 09:14:15 drochner Exp $
a6 1
WRKSRC=		${WRKDIR}/Python-2.0.1
d19 1
@


1.11
log
@make distutils obey LDFLAGS set in the environment, analogous to
patches we've applied to Python-2.1+
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/07/17 21:45:13 grant Exp $
d6 1
a6 1
PKGREVISION=	4
@


1.10
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2003/06/06 19:39:04 drochner Exp $
d6 1
a6 1
PKGREVISION=	3
@


1.9
log
@g/c the now unneeded explicite export of LINK_ALL_LIBGCC_HACK to the
environment
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/06/06 18:14:10 drochner Exp $
d12 1
a12 1
MAINTAINER=	tsarna@@netbsd.org
@


1.8
log
@add the LINK_ALL_LIBGCC_HACK variable to the interpreter's link line,
so that dynamic libraries using libgcc functions can be loaded
should fix PR pkg/16144 by Brett Slager
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/03/29 12:41:31 jmmv Exp $
a29 1
MAKE_ENV+=	LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q}
@


1.7
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/03/14 19:37:44 jlam Exp $
d30 1
@


1.6
log
@(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
    Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2002/10/25 12:45:00 wiz Exp $
d7 1
a22 1
WRKSRC=		${WRKDIR}/Python-2.0.1
@


1.5
log
@Convert to buildlink2.
Unconditionally compile in SSL support; bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/01/28 11:51:23 drochner Exp $
d35 2
a36 1
		-Wl,-R${BUILDLINK_PREFIX.openssl}/lib -lssl -lcrypto
d45 2
a46 1
MODADD=		-I${ZOULARIS}/include -L${ZOULARIS}/lib -R${ZOULARIS}/lib
@


1.4
log
@-link the math, cmath and time modules against libm to make it more
 embedding friendly, as suggested in PR pkg/14520 by Jarkko Torppa
-having to touch Setup.in anyway, comment out the non-64-bit-clean
 modules regularily and remove the Makefile magic which led to the
 same effect
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/01/28 09:07:23 drochner Exp $
d6 1
a6 1
PKGREVISION=	2
d21 1
d33 3
a35 4
# If Building on NetBSD 1.5, include SSL support
.if exists(/usr/include/openssl/ssl.h)
SSLFLAGS=	-DUSE_SSL -I/usr/include/openssl -lssl -lcrypto
.endif
d50 1
a50 1
		-e 's,@@SSLFLAGS@@,${SSLFLAGS},g' \
d75 1
@


1.3
log
@-don't build modules which are known not to work on 64-bit boxes
 on any platform (we can make a separate pkg for it later)
-pull in a patch which used to be in devel/py-readline here because
 it is Python version specific
-bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/01/16 20:26:44 drochner Exp $
a41 2
# don't build modules which don't work on all platforms
NO64BIT=\#
d48 1
a48 2
	${SED}  -e 's,@@NO64BIT@@,${NO64BIT},g' \
		-e 's,@@NOSHARED@@,${NOSHARED},g' \
d52 1
a52 2
	${SED}  -e 's,@@NO64BIT@@,${NO64BIT},g' \
		-e 's,@@NOSHARED@@,${NOSHARED},g' \
@


1.2
log
@fix the Makefile installed for extension packages to use the right
python version,
bump pkg revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2002/01/16 18:40:48 drochner Exp $
d6 1
a6 1
PKGREVISION=	1
d42 1
a42 1
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
a43 1
.endif
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2001/10/19 14:24:51 wiz Exp $
d6 1
@


1.1.1.1
log
@move the Python-2.0 pkg, formerly at lang/python, into a version specific
directory
let it conflict with the old pkg, don't install files which might
conflict with other versions
@
text
@@
