On 2019/02/04 22:34, Klemens Nanni wrote: > On Mon, Feb 04, 2019 at 08:23:32PM +0000, Stuart Henderson wrote: > > That's weird. It's substituted correctly here via autoconf/Makefile - > > what output do you get from "make configure"? > ===> Configuring for menumaker-0.99.10 > Using /usr/ports/pobj/menumaker-0.99.10/config.site (generated) > configure: WARNING: unrecognized options: --disable-gtk-doc > configure: loading site script /usr/ports/pobj/menumaker-0.99.10/config.site > checking for a BSD-compatible install... > /usr/ports/pobj/menumaker-0.99.10/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... mkdir -p > checking for gawk... (cached) awk > checking whether make sets $(MAKE)... (cached) yes > checking whether make supports nested variables... yes > checking for style of include used by make... GNU > checking for gcc... cc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... (cached) o > checking whether we are using the GNU C compiler... (cached) yes > checking whether cc accepts -g... (cached) yes > checking for cc option to accept ISO C89... none needed > checking whether cc understands -c and -o together... yes > checking dependency style of cc... none > checking for python build information... > checking for python3... python3 > checking for main in -lpython3... no > checking for main in -lpython3m... no > checking for python3.4... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > checking for python3.3... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > checking for python3.2... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > checking for python3.1... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > checking for python3.0... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > checking for python... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > checking for python2.7... (cached) python3 > checking for main in -lpython3... (cached) no > checking for main in -lpython3m... (cached) no > results of the Python check: > Binary: python3 > Library: no > Include Dir: no > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating Makefile > config.status: creating doc/Makefile > config.status: creating Config.py > config.status: executing depfiles commands > configure: WARNING: unrecognized options: --disable-gtk-doc > ===> Building for menumaker-0.99.10
I had the same, but it did get substituted correctly (from this in Makefile.in) .. 849 install-exec-local : 850 echo "#!/usr/bin/env $(PYTHON_BIN)" > $(DESTDIR)/$(bindir)/mmaker 851 echo "import sys; sys.path = ['$(pkgdatadir)'] + sys.path" >> $(DESTDIR)/$(bindir)/mmaker 852 echo "import MenuMaker.CLI" >> $(DESTDIR)/$(bindir)/mmaker > > > Can just be CONFIGURE_STYLE=gnu as well (and VERSION rolled into DISTNAME). > Yes. >
