Fix PLIST on NetBSD>=2.
Bump PKGREVISION.
This commit is contained in:
parent
06762bff4a
commit
cefaa42234
2 changed files with 21 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
# $NetBSD: Makefile,v 1.22 2005/05/29 09:40:09 minskim Exp $
|
# $NetBSD: Makefile,v 1.23 2005/05/29 11:18:35 minskim Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= Python-2.1.3
|
DISTNAME= Python-2.1.3
|
||||||
PKGNAME= python21-2.1.3
|
PKGNAME= python21-2.1.3
|
||||||
PKGREVISION= 6
|
PKGREVISION= 7
|
||||||
CATEGORIES= lang python
|
CATEGORIES= lang python
|
||||||
MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.3/
|
MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.3/
|
||||||
EXTRACT_SUFX= .tgz
|
EXTRACT_SUFX= .tgz
|
||||||
|
@ -47,6 +47,18 @@ PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
|
||||||
.endif
|
.endif
|
||||||
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME}
|
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME}
|
||||||
|
|
||||||
|
PLAT_SOCKET= "@comment "
|
||||||
|
PLAT_TERMIOS= "@comment "
|
||||||
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[2-9].*)
|
||||||
|
. if exists(/usr/include/sys/socket.h)
|
||||||
|
PLAT_SOCKET= ""
|
||||||
|
. endif
|
||||||
|
. if exists(/usr/include/termios.h)
|
||||||
|
PLAT_TERMIOS= ""
|
||||||
|
. endif
|
||||||
|
.endif
|
||||||
|
PLIST_SUBST+= PLAT_SOCKET=${PLAT_SOCKET} PLAT_TERMIOS=${PLAT_TERMIOS}
|
||||||
|
|
||||||
# bsddb.so is not built on Solaris (or IRIX?)
|
# bsddb.so is not built on Solaris (or IRIX?)
|
||||||
BSDDB=
|
BSDDB=
|
||||||
.if ${OPSYS} == "SunOS" || ${OPSYS} == "IRIX"
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "IRIX"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@comment $NetBSD: PLIST.common,v 1.1 2004/01/24 07:09:15 grant Exp $
|
@comment $NetBSD: PLIST.common,v 1.2 2005/05/29 11:18:35 minskim Exp $
|
||||||
bin/pydoc${PY_VER_SUFFIX}
|
bin/pydoc${PY_VER_SUFFIX}
|
||||||
bin/python${PY_VER_SUFFIX}
|
bin/python${PY_VER_SUFFIX}
|
||||||
include/python${PY_VER_SUFFIX}/Python.h
|
include/python${PY_VER_SUFFIX}/Python.h
|
||||||
|
@ -832,6 +832,12 @@ lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/FCNTL.pyo
|
||||||
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/IN.py
|
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/IN.py
|
||||||
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/IN.pyc
|
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/IN.pyc
|
||||||
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/IN.pyo
|
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/IN.pyo
|
||||||
|
${PLAT_SOCKET}lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/SOCKET.py
|
||||||
|
${PLAT_SOCKET}lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/SOCKET.pyc
|
||||||
|
${PLAT_SOCKET}lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/SOCKET.pyo
|
||||||
|
${PLAT_TERMIOS}lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/TERMIOS.py
|
||||||
|
${PLAT_TERMIOS}lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/TERMIOS.pyc
|
||||||
|
${PLAT_TERMIOS}lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/TERMIOS.pyo
|
||||||
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/regen
|
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/regen
|
||||||
lib/python${PY_VER_SUFFIX}/popen2.py
|
lib/python${PY_VER_SUFFIX}/popen2.py
|
||||||
lib/python${PY_VER_SUFFIX}/popen2.pyc
|
lib/python${PY_VER_SUFFIX}/popen2.pyc
|
||||||
|
|
Loading…
Reference in a new issue