This together with the diff I've just commited lets textproc/py-xml
work with 2.6. Probably some other packages as well as -expat does not
exist on 2.6
  OK?

  f.-

Index: lang/python/python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.24
diff -u -p -r1.24 python.port.mk
--- lang/python/python.port.mk  27 Oct 2008 00:02:27 -0000      1.24
+++ lang/python/python.port.mk  16 Dec 2008 04:56:00 -0000
@@ -33,7 +33,9 @@ REGRESS_TARGET?=      test
 .endif
 
 .if !defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:U} != YES
+.if ${MODPY_VERSION} != "2.6"
 MODPY_EXPAT_DEPENDS=   
:python-expat-${MODPY_VERSION}*:lang/python/${MODPY_VERSION},-expat     
+.endif
 MODPY_TKINTER_DEPENDS= 
:python-tkinter-${MODPY_VERSION}*:lang/python/${MODPY_VERSION},-tkinter
 .endif
 

Reply via email to