The following reply was made to PR pkg/52633; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
Date: Sat, 21 Oct 2017 23:05:24 +0200
Hello Andrew,
Andrew Pennebaker writes:
> sh -c "cd /usr/pkgsrc/lang/python27 && make PKG_CONFIG.python27='' make
> update"
>
> However, when I run this, pkgsrc appears to continue to apply the x11
> option anyway, even though I'm trying to disable it. Am I doing something
> wrong? I think I'm using the right syntax, but I could be wrong.
PKG_OPTIONS.python27='-x11' will do the trick! (to quickly verify/show
all the options you can also use
`make PKG_OPTIONS.python27='-x11' show-options')