diff options
author | recht <recht@pkgsrc.org> | 2003-08-18 17:16:53 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2003-08-18 17:16:53 +0000 |
commit | e39670cde9f6c5bd479f2789c46359e0669a0686 (patch) | |
tree | c38c031b0e39c20ca67ab1729fffb881468bc6e5 /lang/python23/Makefile | |
parent | 5b2eaa106596dadbd5cd5cdb8e9546ee62402382 (diff) | |
download | pkgsrc-e39670cde9f6c5bd479f2789c46359e0669a0686.tar.gz |
- Fix build for NetBSD <= 1.5.
- Include bzip2's buildlink2.mk to work-around different API versions.
- Include db's buildlink2.mk on non-NetBSD platforms to get a similar
feature-set on a pkgsrc platforms.
Diffstat (limited to 'lang/python23/Makefile')
-rw-r--r-- | lang/python23/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 7e160907957..791d47af4f8 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/08/06 11:51:30 drochner Exp $ +# $NetBSD: Makefile,v 1.3 2003/08/18 17:16:53 recht Exp $ # DISTNAME= Python-2.3 @@ -29,6 +29,14 @@ post-install: ${LN} -s ${PREFIX}/lib/libpython2.3.so.1.0 \ ${PREFIX}/lib/libpython2.3.so +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} != "NetBSD" +.include "../../databases/db/buildlink2.mk" +CPPFLAGS+= -I${BUILDLINK_PREFIX.db}/include/db2 +.endif + +.include "../../archivers/bzip2/buildlink2.mk" .include "../../devel/zlib/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |