diff options
author | tg <tg@FreeBSD.org> | 1999-07-15 19:59:41 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1999-07-15 19:59:41 +0800 |
commit | 53a686945a79f8d3d3e54771eee5762f1b82dc2d (patch) | |
tree | 04a813be8b6fcf3f42809f34277e44217c68c365 /lang/python24/Makefile | |
parent | 3a53cb2bac4afb7789a97c9a1e4d80e15d3865d9 (diff) | |
download | freebsd-ports-gnome-53a686945a79f8d3d3e54771eee5762f1b82dc2d.tar.gz freebsd-ports-gnome-53a686945a79f8d3d3e54771eee5762f1b82dc2d.tar.zst freebsd-ports-gnome-53a686945a79f8d3d3e54771eee5762f1b82dc2d.zip |
Fix package building when you're leaving out optional parts, like Tk.
PR: 12648
Diffstat (limited to 'lang/python24/Makefile')
-rw-r--r-- | lang/python24/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile index 1cd2cd9ab1fd..a95a5e1ee141 100644 --- a/lang/python24/Makefile +++ b/lang/python24/Makefile @@ -3,7 +3,7 @@ # Date created: 08 August 1995 # Whom: jkh # -# $Id: Makefile,v 1.49 1999/05/19 08:47:50 tg Exp $ +# $Id: Makefile,v 1.50 1999/07/06 13:27:35 tg Exp $ # DISTNAME= py152 @@ -38,6 +38,7 @@ WITH_TK?= yes .if defined(WITH_TK) && $(WITH_TK) == yes TK_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 SETUP_LOCAL= Setup.tk +PLIST_TK= ${PKGDIR}/PLIST.tk .endif # @@ -60,7 +61,7 @@ CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}" # .if exists(/usr/src/contrib/libgmp/gmp-impl.h) SETUP_LOCAL+= Setup.gmp -PLIST_GMP= lib/python1.5/lib-dynload/mpzmodule.so +PLIST_GMP= ${PKGDIR}/PLIST.gmp .endif # @@ -69,6 +70,9 @@ PLIST_GMP= lib/python1.5/lib-dynload/mpzmodule.so # while extending or managing Python. # WITH_TOOLS?= yes +.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes +PLIST_TOOLS= ${PKGDIR}/PLIST.Tools +.endif post-extract: cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh @@ -95,7 +99,7 @@ pre-install: ${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \ ${PREFIX}/lib/python1.5/${platform}/ .endfor - @${ECHO} ${PLIST_GMP} | sort -r -o ${PLIST} - ${PKGDIR}/PLIST + @sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST post-install: strip ${PREFIX}/bin/python |