Python won't package on alpha because VPATH isn't removed during 
configure. This is because the following code on alpha isn't triggered:
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
which (from what I gathered) is generated by autoconf. This in turn
triggers the check-clean-src check in Makefile, which results in
python failing to pass the install phase of the build.

Since autoconf is a mystery to me and the comment in Makefile.inc
references a utility long send to the great bitbucket in the sky
would this be an appropriate fix?

Of course to be committed after unlock.

martijn@

Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/lang/python/Makefile.inc,v
retrieving revision 1.134
diff -u -p -r1.134 Makefile.inc
--- Makefile.inc        11 Feb 2020 11:45:31 -0000      1.134
+++ Makefile.inc        12 May 2020 17:47:21 -0000
@@ -113,9 +113,7 @@ WANTLIB-tkinter =   X11 pthread python${VE
 AUTOCONF_VERSION =     2.69
 
 CONFIGURE_STYLE =      autoconf
-CONFIGURE_ARGS +=      --enable-shared
-# --srcdir is needed for systrace to work correctly
-CONFIGURE_ARGS +=      --srcdir=${WRKSRC} \
+CONFIGURE_ARGS +=      --enable-shared \
                        --with-fpectl \
                        --with-threads \
                        --enable-ipv6 \

Reply via email to