On Fri, Dec 23, 2016 at 01:49:19PM +0100, Remi Pointel wrote: > Hi, > > attached is the port for python 3.6. > > It needs the patch for lang/python/Makefile.inc to work. > > Ok to import? > > Cheers, > > Remi.
> Index: Makefile.inc > =================================================================== > RCS file: /cvs/ports/lang/python/Makefile.inc,v > retrieving revision 1.118 > diff -u -p -u -r1.118 Makefile.inc > --- Makefile.inc 23 Sep 2016 09:16:55 -0000 1.118 > +++ Makefile.inc 23 Dec 2016 12:48:31 -0000 > @@ -131,7 +131,11 @@ FAKE_FLAGS += RANLIB=: > # and QtWebKit require W|X mappings. > USE_WXNEEDED = Yes > > +.if ${VERSION} == "3.6" > +ALL_TARGET = all > +.else > ALL_TARGET = all ./Lib/plat-openbsd6 > +.endif > > post-extract: > rm -r ${WRKDIST}/Modules/expat I fixed CHANGES.OpenBSD (attached) In your PLIST's missing line '@option is-branch'. Is it correct? -- Alexandr Shadchin
$OpenBSD: CHANGES.OpenBSD,v 1.2 2015/09/28 04:50:37 rpointel Exp $ As required by item 2 of the PSF license, here is a brief summary of changes made to this version of Python for the OpenBSD package. 1. Regression tests have been taught about OpenBSD. 2. INSTSONAME could be incorrect, configure.ac was patched to fix it. These changes are available in the OpenBSD CVS repository <http://www.openbsd.org/anoncvs.html> in ports/lang/python/3.6.