diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-20 10:40:37 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-20 10:40:37 +0000 |
commit | c76af540994a0efe39d68b4b78399ccd4a40552b (patch) | |
tree | 3d467109b4e250a52a1370be4c33349e1c9ba3c0 /biology/pymol | |
parent | Fix build on tcl8.4 (which current py-tkinter is based on) (diff) |
Fix build on python2.3
Notes
Notes:
svn path=/head/; revision=87367
Diffstat (limited to 'biology/pymol')
-rw-r--r-- | biology/pymol/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile index 11af04acd5d1..16c663121e8f 100644 --- a/biology/pymol/Makefile +++ b/biology/pymol/Makefile @@ -26,8 +26,13 @@ USE_GMAKE= yes USE_REINPLACE= yes USE_PYTHON= yes +.include <bsd.port.pre.mk> + pre-patch: @${INSTALL_DATA} ${WRKSRC}/setup/Rules.linux ${WRKSRC}/Rules.make +.if ${PYTHON_REL} >= 230 + @${REINPLACE_CMD} -e 's,@DEFS@,,g' ${WRKSRC}/contrib/modules/Makefile.pre.in.src +.endif post-patch: @${INSTALL_DATA} ${WRKSRC}/setup/pymol.com.linux-rh7x ${WRKSRC}/setup/pymol.com @@ -51,4 +56,4 @@ do-install: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/pymol/modules @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/pymol/modules -.include <bsd.port.mk> +.include <bsd.port.post.mk> |