diff options
author | perky <perky@FreeBSD.org> | 2003-09-29 19:44:32 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-09-29 19:44:32 +0800 |
commit | 6a484a825b731fd856cce219b8173b68d43fb413 (patch) | |
tree | 51d334eec75bcea1f0ef957d1384543d2a16c5fa /lang/python/Makefile | |
parent | b02831ae12aed2fd51c7e245cfeb20529e46a24c (diff) | |
download | freebsd-ports-gnome-6a484a825b731fd856cce219b8173b68d43fb413.tar.gz freebsd-ports-gnome-6a484a825b731fd856cce219b8173b68d43fb413.tar.zst freebsd-ports-gnome-6a484a825b731fd856cce219b8173b68d43fb413.zip |
- Install a 'real' shared object when BUILD_SHARED=yes. [1]
- Fix plist on 32bit architectures.
- Bump PORTREVISION.
PR: 57269 [1]
Submitted by: Tim Middleton <x@Vex.Net> [1],
Kostik I. Belousov <kostya@tessart.kiev.ua> [1]
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r-- | lang/python/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index 760b589fa0e0..c0a54297eeed 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -7,7 +7,7 @@ PORTNAME= python PORTVERSION= 2.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang python ipv6 MASTER_SITES= ${MASTER_SITE_PYTHON} MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} @@ -74,6 +74,11 @@ PLIST_SUB+= X86_ONLY="@comment " .if ${ARCH} == amd64 CFLAGS+= -fPIC .endif +.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 +PLIST_SUB+= 32BIT_ONLY="@comment " +.else +PLIST_SUB+= 32BIT_ONLY="" +.endif .if ${OSVERSION} < 400000 LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses @@ -114,10 +119,6 @@ post-patch: ${REINPLACE_CMD} -e \ 's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \ ${WRKSRC}/Lib/pydoc.py -.if ${ARCH} == amd64 || ${ARCH} == sparc64 - ${REINPLACE_CMD} -e \ - 's,^#\(dl .*\),\1,' ${WRKSRC}/Modules/Setup.dist -.endif pre-install: .for platform in ${PLATFORMS} |