[Midnightbsd-cvs] mports [23044] trunk/lang/python27/Makefile: fix osmajor
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Mar 4 13:33:52 EST 2018
Revision: 23044
http://svnweb.midnightbsd.org/mports/?rev=23044
Author: laffer1
Date: 2018-03-04 13:33:51 -0500 (Sun, 04 Mar 2018)
Log Message:
-----------
fix osmajor
Modified Paths:
--------------
trunk/lang/python27/Makefile
Modified: trunk/lang/python27/Makefile
===================================================================
--- trunk/lang/python27/Makefile 2018-03-04 16:48:57 UTC (rev 23043)
+++ trunk/lang/python27/Makefile 2018-03-04 18:33:51 UTC (rev 23044)
@@ -34,7 +34,7 @@
MAKE_ARGS+= LIBPC="${PREFIX}/libdata/pkgconfig" # Until pathfix gets support for files other than Makefile.in
MAKE_JOBS_UNSAFE= yes # Parser/pgen build bug. See Issue: 200622, 201974
-OSMAJOR= ${OSREL:C/([0-9]*).[0-9]*/\1/}
+OSMAJOR= ${OSREL:C/([0-9]*).*/\1/}
PLIST_SUB= ABI=${ABIFLAGS} \
PORTVERSION=${PORTVERSION} \
More information about the Midnightbsd-cvs
mailing list